2014-05-23 09:53:19 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# see https://wiki.debian.org/Courses2005/BuildingWithoutHelper
|
|
|
|
|
2014-05-26 12:08:15 +02:00
|
|
|
version=`git tag -l|tail -1`
|
|
|
|
#version="0.2.2"
|
2014-05-23 17:13:05 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2014-06-05 17:05:24 +02:00
|
|
|
rm -rf libpsl-${version}
|
|
|
|
|
2014-05-23 17:13:05 +02:00
|
|
|
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
|