new blfs: dev-libs/lzo-2.10
This commit is contained in:
30
dev-libs/lzo-2.10.PKGBUILD
Normal file
30
dev-libs/lzo-2.10.PKGBUILD
Normal file
@@ -0,0 +1,30 @@
|
||||
pkgname=lzo
|
||||
pkgver=2.10
|
||||
pkgdesc="Portable lossless data compression library"
|
||||
arch=('x86_64')
|
||||
homepage="https://www.oberhumer.com/opensource/lzo"
|
||||
license=('GPL')
|
||||
sources=("${pkgname}-${pkgver}.tar.gz")
|
||||
urls=("https://www.oberhumer.com/opensource/lzo/download/${sources[0]}")
|
||||
md5sums=("39d3f3f9c55c87b1e5d6888e1420f4b5")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
./configure --prefix=/usr \
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
--docdir=/usr/share/doc/lzo-${pkgver} &&
|
||||
make
|
||||
}
|
||||
|
||||
src_check() {
|
||||
make check
|
||||
make test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
||||
Reference in New Issue
Block a user