1
0
forked from ports/contrib

lz4: adopted package

This commit is contained in:
Tim Biermann 2021-02-17 22:57:05 +00:00
parent b3b632ea74
commit 04585c928c
Signed by untrusted user: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 9 additions and 10 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3yqpBnaEa3l6FGol3mjlt7T5Gq5VYnr8XDJuXme8dvk1QXV8jtA0j/LHVAqBfjq8swPSgBEMemp4AkqgFaxHlAY=
SHA256 (Pkgfile) = 4282e6e34032a5915f0f86cf99687b48ad789c0a316347af7a0e865373a5d41c
RWSagIOpLGJF32ojUL0IfiH/78Le7uotUbuFtYKVHi33zHdVYog9nJLB8kYkr0BRAjnK+CROcMYoIITI5dz0klY9kn8Q3ewwIQM=
SHA256 (Pkgfile) = 038e333414e97d0da13a98b8b310dae154ee1e209fcd162cbf4fc14d3225b6f1
SHA256 (.footprint) = b54711d20c7de6fc0ffa92a1f97ecbcfe55fe0ad50c2cf2aee77a330a6610aa3
SHA256 (lz4-1.9.3.tar.gz) = 030644df4611007ff7dc962d981f390361e6c97a34e5cbc393ddfbe019ffe2c1

View File

@ -1,17 +1,16 @@
# Description: extremely fast compression algorithm
# URL: http://www.lz4.org/
# Maintainer: John Vogel, jvogel4 at stny dot rr dot com
# Packager: Erich Eckner, crux at eckner dot net
# URL: https://www.lz4.org/
# Maintainer: Tim Biermann, tbier at posteo dot de
name=lz4
version=1.9.3
release=1
source=("https://github.com/${name}/${name}/archive/v${version}/${name}-${version}.tar.gz")
source=(https://github.com/$name/$name/archive/v$version/$name-$version.tar.gz)
build() {
cd "${name}-${version}"
cd $name-$version
make -C lib PREFIX=/usr
make -C programs PREFIX=/usr lz4 lz4c
make install PREFIX=/usr DESTDIR="$PKG"
make -C lib PREFIX=/usr
make -C programs PREFIX=/usr lz4 lz4c
make install PREFIX=/usr DESTDIR=$PKG
}