Added zlib
This commit is contained in:
parent
89c56f6ef1
commit
e8eeb60196
1 changed files with 24 additions and 0 deletions
24
pkgs/zstd/build.sh
Normal file
24
pkgs/zstd/build.sh
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
pkgname=zstd
|
||||||
|
pkgver=1.4.9
|
||||||
|
|
||||||
|
fetch() {
|
||||||
|
curl -L "https://github.com/facebook/zstd/releases/download/v1.4.9/zstd-1.4.9.tar.gz" -o $pkgname-$pkgver.tar.xz
|
||||||
|
tar -xf $pkgname-$pkgver.tar.xz
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd $pkgname-$pkgver
|
||||||
|
|
||||||
|
gmake
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd $pkgname-$pkgver
|
||||||
|
gmake install PREFIX=/usr DESTDIR=$pkgdir
|
||||||
|
}
|
||||||
|
|
||||||
|
license() {
|
||||||
|
cd $pkgname-$pkgver
|
||||||
|
cat LICENSE
|
||||||
|
# cat COPYING
|
||||||
|
}
|
Loading…
Reference in a new issue