2021-06-29 22:34:06 +00:00
|
|
|
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
|
2022-08-26 10:57:09 +00:00
|
|
|
bad --gmake gmake PREFIX=/usr
|
2021-06-29 22:34:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $pkgname-$pkgver
|
2022-08-26 10:57:09 +00:00
|
|
|
bad --gmake gmake install PREFIX=/usr DESTDIR=$pkgdir
|
2021-06-29 22:34:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
license() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
cat LICENSE
|
|
|
|
# cat COPYING
|
|
|
|
}
|