Compare commits
No commits in common. "master" and "v0.1.2" have entirely different histories.
2 changed files with 1 additions and 30 deletions
29
APKBUILD
29
APKBUILD
|
|
@ -1,29 +0,0 @@
|
||||||
# Maintainer: Imbus <imbus64@protonmail.com>
|
|
||||||
pkgname=libhash
|
|
||||||
pkgver=0.1.2
|
|
||||||
pkgrel=0
|
|
||||||
pkgdesc="Various hash functions in C"
|
|
||||||
url="https://git.silversoft.se/Imbus/libhash"
|
|
||||||
arch="all"
|
|
||||||
license="MIT"
|
|
||||||
makedepends="gcc make"
|
|
||||||
checkdepends=""
|
|
||||||
subpackages="$pkgname-static $pkgname-dev"
|
|
||||||
source="$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
|
|
||||||
builddir="$srcdir/$pkgname"
|
|
||||||
|
|
||||||
build() {
|
|
||||||
make
|
|
||||||
}
|
|
||||||
|
|
||||||
check() {
|
|
||||||
make test
|
|
||||||
}
|
|
||||||
|
|
||||||
package() {
|
|
||||||
PREFIX="$pkgdir/usr" make install
|
|
||||||
}
|
|
||||||
|
|
||||||
sha512sums="
|
|
||||||
2e7d02e96f26569a2ae2e29d8644fa93e08229fbb288a67418c986d928cfa3d93e16793ca20cc9a39cbc74e5842395a37923f843fba2215350db350a307ff080 libhash-0.1.2.tar.gz
|
|
||||||
"
|
|
||||||
2
Makefile
2
Makefile
|
|
@ -1,5 +1,5 @@
|
||||||
CC ?= gcc
|
CC ?= gcc
|
||||||
CFLAGS ?= -Wall -Wextra -fPIC -Ihash -O2
|
CFLAGS ?= -Wall -fPIC -Ihash -O2
|
||||||
AR ?= ar
|
AR ?= ar
|
||||||
ARFLAGS ?= rcs
|
ARFLAGS ?= rcs
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue