diff --git a/build.sh b/build.sh index 500a580..b231748 100755 --- a/build.sh +++ b/build.sh @@ -28,12 +28,14 @@ then sayAndDo wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-$VERSION.tar.gz fi -if [ ! -d asterisk-$VERSION ] +if [ -d asterisk-$VERSION ] then - sayAndDo tar zxf asterisk-$VERSION.tar.gz + sayAndDo rm -rf asterisk-$VERSION fi +sayAndDo tar zxf asterisk-$VERSION.tar.gz sayAndDo cp menuselect.makeopts asterisk-$VERSION -sayAndDo cp -R debian asterisk-$VERSION/ +sayAndDo mkdir asterisk-$VERSION/debian +sayAndDo cp debian/* asterisk-$VERSION/debian/ sayAndDo cd asterisk-$VERSION sayAndDo dpkg-buildpackage diff --git a/debian/changelog b/debian/changelog index 1cda8d1..e869377 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -range-asterisk (11.4.0) UNRELEASED; urgency=low +range-asterisk (11.4.0.1) UNRELEASED; urgency=low * Test diff --git a/debian/control b/debian/control index b3c3c73..ec7a8c1 100755 --- a/debian/control +++ b/debian/control @@ -7,11 +7,11 @@ Build-Depends: build-essential, debhelper (>= 7), pkg-config, autoconf Standards-Version: 3.7.3 Package: range-asterisk -Version: 11.4.0 +Version: 11.4.0.1 Section: comm Priority: optional Architecture: i386 Essential: no -Depends: sqlite, sqlite3, libosip2-4, libglib2.0-0, libgl1-mesa-glx, libc6-i686, libasound2, pkg-config, libpcre3, gawk, libsqliteodbc, unixodbc, unixodbc-dev +Depends: sqlite, sqlite3, libosip2-4, libglib2.0-0, libgl1-mesa-glx, libc6-i686, libasound2, pkg-config, libpcre3, gawk, libsqliteodbc, unixodbc Description: Asterisk Communication Framework.