26 lines
569 B
Plaintext
26 lines
569 B
Plaintext
# Description: A portable lossless data compression library written in ANSI C.
|
|
# URL: http://www.oberhumer.com/opensource/ucl/
|
|
# Maintainer: unmaintained
|
|
|
|
name=ucl
|
|
version=1.03
|
|
release=3
|
|
source=(http://www.oberhumer.com/opensource/ucl/download/ucl-$version.tar.gz
|
|
ucl.pc.in)
|
|
|
|
build() {
|
|
cd ucl-$version
|
|
|
|
CFLAGS+=" -std=gnu90 -fPIC"
|
|
./configure \
|
|
--prefix=/usr \
|
|
--enable-shared \
|
|
--enable-static
|
|
|
|
make
|
|
make prefix=$PKG/usr install
|
|
|
|
mkdir -p $PKG/usr/lib/pkgconfig/
|
|
sed "s|@VERSION@|$version|" $SRC/ucl.pc.in > $PKG/usr/lib/pkgconfig/ucl.pc
|
|
}
|