Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9c23dc5653 | ||
|
|
9d83fd1975 |
2 changed files with 30 additions and 1 deletions
29
APKBUILD
Normal file
29
APKBUILD
Normal file
|
|
@ -0,0 +1,29 @@
|
||||||
|
# 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 -fPIC -Ihash -O2
|
CFLAGS ?= -Wall -Wextra -fPIC -Ihash -O2
|
||||||
AR ?= ar
|
AR ?= ar
|
||||||
ARFLAGS ?= rcs
|
ARFLAGS ?= rcs
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue