libpsl/make_deb

25 lines
674 B
Plaintext
Raw Normal View History

2014-05-23 09:53:19 +02:00
#!/bin/sh
# see https://wiki.debian.org/Courses2005/BuildingWithoutHelper
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
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