2006-02-23 15:26:10 +00:00
|
|
|
# Description: libmng - Mutliple Image Network Graphics
|
2009-01-26 18:10:01 +01:00
|
|
|
# URL: http://www.libmng.com
|
|
|
|
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
|
|
|
|
# Packager: Daniel Mueller, daniel at danm dot de
|
|
|
|
# Depends on: zlib, libjpeg, lcms
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=libmng
|
2007-08-18 00:31:27 +02:00
|
|
|
version=1.0.10
|
|
|
|
release=1
|
2006-02-23 15:26:10 +00:00
|
|
|
source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.gz \
|
2009-01-26 18:10:01 +01:00
|
|
|
libmng.la)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
mkdir -p $PKG/usr/{include,lib}
|
|
|
|
cd $name-$version
|
|
|
|
cp makefiles/makefile.linux Makefile
|
|
|
|
sed -i -e 's|/local||g' Makefile
|
2007-08-18 00:31:27 +02:00
|
|
|
sed -i 's|1\.0\.9|1\.0\.10|g' Makefile
|
2006-02-23 15:26:10 +00:00
|
|
|
make
|
|
|
|
make prefix=$PKG/usr install
|
2009-01-26 18:10:01 +01:00
|
|
|
ln -s libmng.so.1.1.0.10 $PKG/usr/lib/libmng.so.1.0.10
|
2006-02-23 15:26:10 +00:00
|
|
|
install -m 755 $SRC/libmng.la $PKG/usr/lib
|
|
|
|
}
|