diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-01-22 19:04:37 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-01-22 19:04:37 +0000 |
commit | ca0ba7a6ae14c92c93600d292a94c76474cb6040 (patch) | |
tree | 9a8b5b3c7cb8cd401ad845e5a82ef8a119896fa7 /user | |
parent | 58a158154ce154dfdd8b3524409c2ec822aaf4dc (diff) | |
download | packages-ca0ba7a6ae14c92c93600d292a94c76474cb6040.tar.gz packages-ca0ba7a6ae14c92c93600d292a94c76474cb6040.tar.bz2 packages-ca0ba7a6ae14c92c93600d292a94c76474cb6040.tar.xz packages-ca0ba7a6ae14c92c93600d292a94c76474cb6040.zip |
user/xxhash: New package
Diffstat (limited to 'user')
-rw-r--r-- | user/xxhash/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/user/xxhash/APKBUILD b/user/xxhash/APKBUILD new file mode 100644 index 000000000..91c74b4bf --- /dev/null +++ b/user/xxhash/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=xxhash +pkgver=0.7.2 +pkgrel=0 +pkgdesc="Fast non-cryptographic hashing algorithm" +url="https://cyan4973.github.io/xxHash/" +arch="all" +license="BSD-2-Clause" +depends="" +makedepends="" +subpackages="$pkgname-dev $pkgname-doc $pkgname-tools" +source="xxHash-$pkgver.tar.gz::https://github.com/Cyan4973/xxHash/archive/v$pkgver.tar.gz" +builddir="$srcdir"/xxHash-$pkgver + +build() { + make prefix=/usr +} + +check() { + make prefix=/usr check +} + +package() { + make prefix=/usr DESTDIR="$pkgdir" install +} + +tools() { + license="GPL-2.0+" + mkdir -p "$subpkgdir"/usr + mv "$pkgdir"/usr/bin "$subpkgdir"/usr/ +} + +sha512sums="90d4e7422729441e5013928b306fd6f394ab6f97628ec88369fbb33891c9a2cfae495516d8dd0741eda9c38859132b1bd78f2c7b8dae1dce80eeca8ea5cba575 xxHash-0.7.2.tar.gz" |