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
|
2007-04-03 18:17:06 +03:00
|
|
|
version=10.35.25
|
2006-02-23 15:26:10 +00:00
|
|
|
release=1
|
2007-04-03 18:17:06 +03:00
|
|
|
source=(http://ptoplus.net/~anttinyk/files/$name-$version.tar.gz
|
|
|
|
Makefile.config)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
2007-04-03 18:17:06 +03:00
|
|
|
sed -e "s|#CFLAGS#|$CFLAGS|" $SRC/Makefile.config > Makefile.config
|
2006-02-23 15:26:10 +00:00
|
|
|
make && make pkgdir=$PKG/usr package
|
|
|
|
mkdir $PKG/usr/share
|
|
|
|
mv $PKG/usr/misc $PKG/usr/share/$name
|
2007-04-03 18:17:06 +03:00
|
|
|
rm -r $PKG/usr/{README,VERSION,link,man/web}
|
|
|
|
rm -r $PKG/usr/{config_template,pkginfo,bin/doc.url}
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|