new blfs: dev-libs/lzo-2.10

This commit is contained in:
2025-12-29 20:12:35 -05:00
parent 1052993989
commit 16a1489fdc

View 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
}