Author: tolimar
Date: 2012-01-20 10:26:46 +0000 (Fri, 20 Jan 2012)
New Revision: 13155
Modified:
packages/trunk/netpanzer/debian/changelog
packages/trunk/netpanzer/debian/rules
Log:
Clean source from unused Libs in get-orig-source
Modified: packages/trunk/netpanzer/debian/changelog
===================================================================
--- packages/trunk/netpanzer/debian/changelog 2012-01-20 10:05:56 UTC (rev
13154)
+++ packages/trunk/netpanzer/debian/changelog 2012-01-20 10:26:46 UTC (rev
13155)
@@ -1,4 +1,4 @@
-netpanzer (0.8.4-1) UNRELEASED; urgency=low
+netpanzer (0.8.4.debian.1-1) UNRELEASED; urgency=low
[ Eddy Petrișor ]
* fix Vcs-Svn URL to point to svn, not the incomplete ssh location
Modified: packages/trunk/netpanzer/debian/rules
===================================================================
--- packages/trunk/netpanzer/debian/rules 2012-01-20 10:05:56 UTC (rev
13154)
+++ packages/trunk/netpanzer/debian/rules 2012-01-20 10:26:46 UTC (rev
13155)
@@ -10,6 +10,7 @@
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
SRC_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version:
\(\([0-9]\+\):\)\?\(.*\)-.*/\3/p')
+UPP_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version:
\(\([0-9]\+\):\)\?\(.*\)-.*/\3/p'| sed -e 's/\.debian\.[0-9]*//')
CFLAGS = -Wall -g
@@ -85,7 +86,8 @@
get-orig-source:
rm -rf get-orig-source netpanzer_$(SRC_VERSION).orig.tar.gz
mkdir get-orig-source
- svn export svn://svn.berlios.de/netpanzer/tags/netpanzer/$(SRC_VERSION)
get-orig-source/netpanzer-$(SRC_VERSION)
+ svn export svn://svn.berlios.de/netpanzer/tags/netpanzer/$(UPP_VERSION)
get-orig-source/netpanzer-$(SRC_VERSION)
+ rm -rf get-orig-source/netpanzer-$(SRC_VERSION)/src/Libs/{lua,physfs}
GZIP='--best --no-name' tar czf netpanzer_$(SRC_VERSION).orig.tar.gz -C
get-orig-source netpanzer-$(SRC_VERSION)
rm -rf get-orig-source
echo " "netpanzer_$(SRC_VERSION).orig.tar.gz" created; move it to the
right destination to build the package"
_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits