[Demudi-commits] r1614 - csound/trunk/debian
fsateler-guest at alioth.debian.org
fsateler-guest at alioth.debian.org
Wed Sep 26 20:42:02 UTC 2007
Author: fsateler-guest
Date: 2007-09-26 20:42:02 +0000 (Wed, 26 Sep 2007)
New Revision: 1614
Modified:
csound/trunk/debian/rules
Log:
clean up get-orig-source target and remove -V argument to sh_makeshlibs
Modified: csound/trunk/debian/rules
===================================================================
--- csound/trunk/debian/rules 2007-09-25 08:36:44 UTC (rev 1613)
+++ csound/trunk/debian/rules 2007-09-26 20:42:02 UTC (rev 1614)
@@ -120,7 +120,7 @@
dh_compress
dh_fixperms
dh_perl
- dh_makeshlibs -V5.06.0
+ dh_makeshlibs
dh_installdeb
dh_shlibdeps
dh_gencontrol
@@ -137,13 +137,16 @@
.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch
ORIGTARBALL=http://downloads.sourceforge.net/csound/Csound5.06.0.tar.gz
-NAME=Csound5.06.0.tar.gz
+ORIGNAME=Csound5.06.0.tar.gz
+NAME=csound_5.06.0.dfsg.orig.tar.gz
-$(NAME):
+$(ORIGNAME):
wget "$(ORIGTARBALL)" -O $@
get-orig-source: $(NAME)
- tar -xzf $(NAME)
+
+$(NAME): $(ORIGNAME)
+ tar -xzf $(ORIGNAME)
mv Csound5.06.0 csound-5.06.0.dfsg
# Delete non-free opcodes
cd csound-5.06.0.dfsg/Opcodes && rm grain4.h grain4.c
@@ -153,9 +156,9 @@
sed -i -e '/scansyn/d' csound-5.06.0.dfsg/SConstruct
# Since we are already repacking, bonus track and delete debian/
rm -r csound-5.06.0.dfsg/debian
- tar -cf csound-5.06.0.dfsg.orig.tar csound-5.06.0.dfsg
- gzip -9 csound-5.06.0.dfsg.orig.tar
+ tar -cf $(NAME:.gz=) csound-5.06.0.dfsg
+ gzip -9 $(NAME:.gz=)
# Now clean up
- rm -r $(NAME) csound-5.06.0.dfsg
+ rm -r $(ORIGNAME) csound-5.06.0.dfsg
include /usr/share/dpatch/dpatch.make
More information about the Demudi-commits
mailing list