aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPiotr Krysik <ptrkrysik@gmail.com>2016-06-13 09:09:37 +0200
committerPiotr Krysik <ptrkrysik@gmail.com>2016-06-13 09:09:37 +0200
commitc21fdadace7b2f1efbb206be260c056e5d9d1381 (patch)
tree31a4df086bd046b03bdc39390dfed58edbdde3d8
parent7aa290fc54412ece5cb73d46ca48614a6de8d07c (diff)
Little changes related to packaging
-rwxr-xr-xbuild.sh21
-rwxr-xr-xdebian/build-package6
-rw-r--r--debian/changelog2
-rw-r--r--debian/control2
-rw-r--r--installer-packages/.placeholder0
5 files changed, 6 insertions, 25 deletions
diff --git a/build.sh b/build.sh
deleted file mode 100755
index 8383aaf..0000000
--- a/build.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/bash
-
-# First, get into the right directory
-THISPATH=$(dirname "$BASH_SOURCE")
-cd $THISPATH
-
-# Now, we check to see that the version env var is set
-${CPACK_PACKAGE_VERSION:?"Need to set CPACK_PACKAGE_VERSION env var!"}
-export $CPACK_DEBIAN_PACKAGE_ARCHITECTURE=`dpkg --print-architecture`
-
-# OK, now we get down to the business of building...
-rm -rf ./build
-mkdir build
-cd build
-cmake ..
-make package
-cpack -G DEB
-mv ./*.deb ../installer-packages
-echo "If you've gotten to this point, the package has been built"
-echo "and exists at "$THISPATH"/installer-packages"
-echo "Don't forget to add and commit the new package, and tag the commit!"
diff --git a/debian/build-package b/debian/build-package
index d0d822a..410ef0f 100755
--- a/debian/build-package
+++ b/debian/build-package
@@ -1,8 +1,10 @@
#!/bin/bash
+VERSION=0.33
+
cd ../..
-tar -acf gr-gsm_0.3.orig.tar.gz gr-gsm
+tar -acf gr-gsm_${VERSION}.orig.tar.gz gr-gsm
cd gr-gsm
debuild -S -sa
cd ..
-dput ppa:ptrkrysik/gr-gsm gr-gsm_0.3-0ppa0_source.changes
+#dput ppa:ptrkrysik/gr-gsm gr-gsm_${VERSION}-0ppa0_source.changes
diff --git a/debian/changelog b/debian/changelog
index 2f7a22b..a43cd5c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-gr-gsm (0.3-0ppa0) xenial; urgency=low
+gr-gsm (0.33-0ppa0) xenial; urgency=low
* Initial upload!
diff --git a/debian/control b/debian/control
index 93ed7db..d0c5f6c 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: gr-gsm
Section: devel
Priority: optional
Maintainer: Piotr Krysik <ptrkrysik@gmail.com>
-Build-Depends: cmake, build-essential, python-scipy, gnuradio-dev, gr-osmosdr, libosmocore-dev, swig
+Build-Depends: cmake, python-scipy, gnuradio-dev, gr-osmosdr, libosmocore-dev, swig
Homepage: http://github.com/ptrkrysik/gr-gsm.git
Package: gr-gsm
diff --git a/installer-packages/.placeholder b/installer-packages/.placeholder
deleted file mode 100644
index e69de29..0000000
--- a/installer-packages/.placeholder
+++ /dev/null