2012-01-15 19:54:01 +08:00
|
|
|
|
|
|
|
pkgname=ucl
|
|
|
|
pkgver=1.03
|
2017-10-27 17:06:29 +08:00
|
|
|
pkgrel=2
|
2012-01-15 19:54:01 +08:00
|
|
|
pkgdesc="Portable lossless data compression library written in ANSI C"
|
2017-10-27 17:06:29 +08:00
|
|
|
arch=('x86_64')
|
2012-01-15 19:54:01 +08:00
|
|
|
license=('GPL')
|
|
|
|
url="http://www.oberhumer.com/opensource/ucl/"
|
|
|
|
options=(!libtool)
|
|
|
|
source=(http://www.oberhumer.com/opensource/$pkgname/download/$pkgname-$pkgver.tar.gz)
|
|
|
|
md5sums=('852bd691d8abc75b52053465846fba34')
|
|
|
|
|
|
|
|
build() {
|
2017-10-27 17:06:29 +08:00
|
|
|
cd $pkgname-$pkgver
|
|
|
|
./configure CPPFLAGS="$CPPFLAGS -std=c90 -fPIC" --prefix=/usr
|
2012-01-15 19:54:01 +08:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2017-10-27 17:06:29 +08:00
|
|
|
cd $pkgname-$pkgver
|
2012-01-15 19:54:01 +08:00
|
|
|
|
2017-10-27 17:06:29 +08:00
|
|
|
make DESTDIR=$pkgdir install
|
2012-01-15 19:54:01 +08:00
|
|
|
}
|