Commit 30b2c570 authored by Alessandro Ghedini's avatar Alessandro Ghedini

Dynamically generate versioned depends on nqp during build to fix 'Missing or...

Dynamically generate versioned depends on nqp during build to fix 'Missing or wrong version of dependency ...' errors
parent 25324ebe
......@@ -16,8 +16,7 @@ Homepage: http://rakudo.org/
Package: rakudo
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, ${parrot:Depends},
nqp (>= 0.1~2012.04.1),
Depends: ${shlibs:Depends}, ${misc:Depends}, ${parrot:Depends}, ${nqp:Depends},
parrot-devel (>= 4.3.0)
Provides: perl6
Description: Perl 6 implementation on top of Parrot virtual machine
......
......@@ -3,12 +3,17 @@
PACKAGE = $(shell dh_listpackages)
TMP = $(CURDIR)/debian/$(PACKAGE)
NQP_VERSION = $(shell dpkg -s nqp | sed -rne 's,^Version: (.+).*,\1,p')
%:
dh $@ --with=parrot
override_dh_auto_configure:
perl Configure.pl --with-nqp=/usr/bin/nqp
override_dh_gencontrol:
dh_gencontrol -- -Vnqp:Depends="nqp (= $(NQP_VERSION))"
# fix extra-license-file by removing the LICENSE.gz file and remove
# duplicated documents
override_dh_auto_install:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment