blob: f2b8620e5f93e14d2fc5ca6003fdffa989b89079 (
plain)
1 # Maintainer: Antti Nykanen, aon at iki dot fi
2 # Description: A toolkit for manipulation of graphic images
3 # URL: http://netpbm.sf.net
4 # Depends on: ghostscript
5
6 name=netpbm
7 version=10.35.51
8 release=1
9 source=(http://crux.nu/~aon/$name/$name-$version.tar.gz
10 $name-$version.diff
11 Makefile.config)
12
13 build() {
14 export MAKEFLAGS="$MAKEFLAGS -j1"
15
16 cd netpbm-$version
17 patch -p0 -i $SRC/$name-$version.diff
18 sed -e "s|#CFLAGS#|$CFLAGS|" $SRC/Makefile.config > Makefile.config
19 make
20 make pkgdir=$PKG/usr package
21 mkdir $PKG/usr/share
22 mv $PKG/usr/misc $PKG/usr/share/netpbm
23 rm -rf $PKG/usr/{README,VERSION,link,man,config_template,pkginfo,bin/doc.url}
24 }
|