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