2014-05-23 09:53:19 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# see https://wiki.debian.org/Courses2005/BuildingWithoutHelper
|
|
|
|
|
2014-05-23 17:13:05 +02:00
|
|
|
version="0.2.1"
|
|
|
|
|
|
|
|
if [ ! -e libpsl_${version}.orig.tar.gz ]; then
|
|
|
|
wget -O libpsl_${version}.orig.tar.gz https://github.com/rockdaboot/libpsl/archive/${version}.tar.gz
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ ! -d libpsl-${version} ]; then
|
|
|
|
tar xvfz libpsl_${version}.orig.tar.gz
|
|
|
|
fi
|
2014-05-23 09:53:19 +02:00
|
|
|
cd libpsl-${version}
|
2014-05-23 17:13:05 +02:00
|
|
|
#./autogen.sh
|
|
|
|
#./configure --enable-gtk-doc --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
|
|
|
|
#make dist
|
|
|
|
|
|
|
|
#mv libpsl-${version}.tar.gz ../libpsl_${version}.orig.tar.gz
|
|
|
|
#dh_make --library --createorig --file libpsl-${version}.tar.gz
|
|
|
|
|
|
|
|
cp -a ../debian .
|
|
|
|
debuild -us -uc
|