2021-05-02 19:49:36 +00:00
|
|
|
pkgname=zstd
|
2022-04-22 21:49:13 +00:00
|
|
|
pkgver=1.5.2
|
|
|
|
auto_cross
|
2021-05-02 19:49:36 +00:00
|
|
|
|
|
|
|
fetch() {
|
2021-05-21 09:34:44 +00:00
|
|
|
curl -L "https://github.com/facebook/zstd/releases/download/v$pkgver/zstd-$pkgver.tar.gz" -o $pkgname-$pkgver.tar.xz
|
2021-05-02 19:49:36 +00:00
|
|
|
tar -xf $pkgname-$pkgver.tar.xz
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
|
2021-09-30 14:01:41 +00:00
|
|
|
bad --gmake gmake
|
2021-05-02 19:49:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $pkgname-$pkgver
|
2021-09-30 14:01:41 +00:00
|
|
|
bad --gmake gmake install PREFIX=/usr DESTDIR=$pkgdir
|
2021-05-02 19:49:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
license() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
cat LICENSE
|
|
|
|
# cat COPYING
|
|
|
|
}
|
2022-04-22 21:49:13 +00:00
|
|
|
|
|
|
|
backup() {
|
|
|
|
return
|
|
|
|
}
|