Commit 2bcd46f6 authored by A. Klitzing's avatar A. Klitzing Committed by Ariadne Conill
Browse files

main/lz4: upgrade to 1.7.5

* Modernize abuild
* Add $pkgname-libs to split "bin" and "libs"
* Switch to new github page
parent 0ecf663c
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=lz4
pkgver=131
_pkgver=r${pkgver}
pkgver=1.7.5
pkgrel=0
pkgdesc="LZ4 is lossless compression algorithm with fast decoder @ multiple GB/s per core."
url="http://www.lz4.info"
url="https://github.com/lz4/lz4"
arch="all"
license="BSD / GPLv2"
depends_dev=""
makedepends="$depends_dev"
subpackages="$pkgname-dev $pkgname-doc"
source="$pkgname-$_pkgver.tar.gz::https://github.com/Cyan4973/lz4/archive/$_pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$_pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
license="BSD"
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
source="$pkgname-$pkgver.tar.gz::https://github.com/lz4/lz4/archive/v$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
export PREFIX="/usr"
make || return 1
cd "$builddir"
make PREFIX="/usr" || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
cd "$builddir"
make PREFIX="/usr" DESTDIR="$pkgdir" install || return 1
}
md5sums="42b09fab42331da9d3fb33bd5c560de9 lz4-r131.tar.gz"
sha256sums="9d4d00614d6b9dec3114b33d1224b6262b99ace24434c53487a0c8fd0b18cfed lz4-r131.tar.gz"
sha512sums="60bd95d529691ffee2c43f0d8a62484c3cff74c0154094f073192606806ac8182dced61e0534ffa7e0ccf5f18e9a8cfd2738883a83814c0711a6d7f1d1b252e5 lz4-r131.tar.gz"
sha512sums="b4e5b17fe06805e676608e636a45f0b480b79a02c6b7ffce84dc4d607861cb2652b2852493ab9d9249e7caeae6f00b6834801fdc39f58d901cbc1c7347915295 lz4-1.7.5.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment