2007-04-03 17:17:06 +02:00
|
|
|
# Maintainer: Antti Nykanen, aon at iki dot fi
|
2006-02-23 16:26:10 +01:00
|
|
|
# Description: A toolkit for manipulation of graphic images
|
|
|
|
# URL: http://netpbm.sf.net
|
2007-04-03 17:17:06 +02:00
|
|
|
# Depends on: ghostscript
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
name=netpbm
|
2008-02-01 22:10:50 +01:00
|
|
|
version=10.35.37
|
2007-05-21 18:58:44 +02:00
|
|
|
release=1
|
2007-04-29 19:29:16 +02:00
|
|
|
source=(http://aon.iki.fi/files/netpbm/netpbm-$version.tar.gz
|
2007-04-03 17:17:06 +02:00
|
|
|
Makefile.config)
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
build() {
|
2007-05-02 18:18:59 +02:00
|
|
|
export MAKEFLAGS="$MAKEFLAGS -j1"
|
|
|
|
|
2007-04-29 19:29:16 +02:00
|
|
|
cd netpbm-$version
|
2007-04-03 17:17:06 +02:00
|
|
|
sed -e "s|#CFLAGS#|$CFLAGS|" $SRC/Makefile.config > Makefile.config
|
2007-05-02 18:18:59 +02:00
|
|
|
make
|
2007-04-12 17:19:04 +02:00
|
|
|
make pkgdir=$PKG/usr package
|
2006-02-23 16:26:10 +01:00
|
|
|
mkdir $PKG/usr/share
|
2007-04-29 19:29:16 +02:00
|
|
|
mv $PKG/usr/misc $PKG/usr/share/netpbm
|
2007-04-12 17:19:04 +02:00
|
|
|
rm -rf $PKG/usr/{README,VERSION,link,man,config_template,pkginfo,bin/doc.url}
|
2006-02-23 16:26:10 +01:00
|
|
|
}
|