2007-01-16 00:26:51 +01:00
|
|
|
#!/bin/sh -x
|
|
|
|
|
|
|
|
#This script is used to create netpbm-$VER-nohpcdtoppm-nojbig.tar.bz2
|
2009-07-08 21:02:40 +02:00
|
|
|
#from upstream svn, http://sourceforge.net/projects/netpbm/
|
2007-01-16 00:26:51 +01:00
|
|
|
|
|
|
|
|
|
|
|
rm -rf REMOVE
|
|
|
|
mkdir REMOVE
|
|
|
|
cd REMOVE
|
2018-06-27 13:42:32 +02:00
|
|
|
svn checkout https://svn.code.sf.net/p/netpbm/code/advanced/ netpbm
|
2012-09-14 08:19:47 +02:00
|
|
|
VER=`echo \`cut -f2 -d= netpbm*/version.mk \`|sed -e "s| |.|g"`
|
2009-07-08 21:02:40 +02:00
|
|
|
mv netpbm* netpbm-$VER
|
|
|
|
|
|
|
|
find . -name ".svn" -exec rm -rf {} \;
|
2007-01-16 00:26:51 +01:00
|
|
|
|
|
|
|
cd netpbm*/converter/ppm/hpcdtoppm || exit 1
|
|
|
|
rm -rf *
|
|
|
|
echo all: >> Makefile
|
|
|
|
echo install.bin: >> Makefile
|
|
|
|
echo install.man: >> Makefile
|
|
|
|
echo install.data: >> Makefile
|
|
|
|
echo clean: >> Makefile
|
|
|
|
cd ../../../..
|
|
|
|
|
2007-04-12 18:12:29 +02:00
|
|
|
cd netpbm*/converter/ppm/ppmtompeg || exit 1
|
|
|
|
rm -rf *
|
|
|
|
echo all: >> Makefile
|
|
|
|
echo install.bin: >> Makefile
|
|
|
|
echo install.man: >> Makefile
|
|
|
|
echo install.data: >> Makefile
|
|
|
|
echo clean: >> Makefile
|
|
|
|
cd ../../../..
|
|
|
|
|
2012-09-14 08:19:47 +02:00
|
|
|
tar cjf ../netpbm-$VER-nohpcdtoppm-noppmtompeg.tar.bz2 *
|
2007-01-16 00:26:51 +01:00
|
|
|
|
2009-07-08 21:02:40 +02:00
|
|
|
wget -m netpbm.sourceforge.net
|
|
|
|
tar cjf ../netpbm-$VER-documentation.tar.bz2 netpbm.sourceforge.net
|
2007-01-16 00:26:51 +01:00
|
|
|
|