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-09 22:59:15 +03:00
|
|
|
version=10.35.26
|
2007-04-12 18:19:04 +03:00
|
|
|
release=2
|
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
|
2007-04-12 18:19:04 +03:00
|
|
|
make -j1
|
|
|
|
make pkgdir=$PKG/usr package
|
2006-02-23 15:26:10 +00:00
|
|
|
mkdir $PKG/usr/share
|
|
|
|
mv $PKG/usr/misc $PKG/usr/share/$name
|
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
|
|
|
}
|