2006-12-05 06:20:51 +11:00
|
|
|
# Description: A portable lossless data compression library written in ANSI C.
|
|
|
|
# URL: http://www.oberhumer.com/opensource/ucl/
|
2023-08-06 20:25:51 +02:00
|
|
|
# Maintainer: unmaintained
|
2006-12-05 06:20:51 +11:00
|
|
|
|
2007-04-01 19:24:36 +10:00
|
|
|
name=ucl
|
2006-12-05 06:20:51 +11:00
|
|
|
version=1.03
|
2022-10-29 19:31:53 +00:00
|
|
|
release=3
|
|
|
|
source=(http://www.oberhumer.com/opensource/ucl/download/ucl-$version.tar.gz
|
|
|
|
ucl.pc.in)
|
2006-12-05 06:20:51 +11:00
|
|
|
|
|
|
|
build() {
|
2023-08-06 20:25:51 +02:00
|
|
|
cd ucl-$version
|
2006-12-05 06:20:51 +11:00
|
|
|
|
2023-08-06 20:25:51 +02:00
|
|
|
CFLAGS+=" -std=gnu90 -fPIC"
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--enable-shared \
|
|
|
|
--enable-static
|
2006-12-05 06:20:51 +11:00
|
|
|
|
2023-08-06 20:25:51 +02:00
|
|
|
make
|
|
|
|
make prefix=$PKG/usr install
|
2006-12-05 06:20:51 +11:00
|
|
|
|
2023-08-06 20:25:51 +02:00
|
|
|
mkdir -p $PKG/usr/lib/pkgconfig/
|
|
|
|
sed "s|@VERSION@|$version|" $SRC/ucl.pc.in > $PKG/usr/lib/pkgconfig/ucl.pc
|
2022-10-29 19:31:53 +00:00
|
|
|
}
|