added xxhash
This commit is contained in:
parent
20445fc782
commit
bb1f3b2c15
1 changed files with 25 additions and 0 deletions
25
pkgs/xxhash/build.sh
Normal file
25
pkgs/xxhash/build.sh
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
pkgname=xxhash
|
||||||
|
pkgver=0.8.0
|
||||||
|
deps=musl
|
||||||
|
|
||||||
|
fetch() {
|
||||||
|
curl -L "https://github.com/Cyan4973/xxHash/archive/refs/tags/v$pkgver.tar.gz" -o $pkgname-$pkgver.tar.xz
|
||||||
|
tar -xf $pkgname-$pkgver.tar.xz
|
||||||
|
mv xxHash-$pkgver $pkgname-$pkgver
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd $pkgname-$pkgver
|
||||||
|
gmake PREFIX=/usr
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd $pkgname-$pkgver
|
||||||
|
gmake install PREFIX=/usr DESTDIR=$pkgdir
|
||||||
|
}
|
||||||
|
|
||||||
|
license() {
|
||||||
|
cd $pkgname-$pkgver
|
||||||
|
cat LICENSE
|
||||||
|
# cat COPYING
|
||||||
|
}
|
Loading…
Reference in a new issue