[Pkg-e-devel] [git/pkg-e] Building e17 optimized for i686-pc-linux-gnu
Sedat Dilek
sedat.dilek at googlemail.com
Mon May 5 07:16:42 UTC 2008
Hi,
I am astonished that e17/unstable from <git.debian.org> is not
optimized by default for i686-pc-linux-gnu.
With the attached debian/rules file this is now possible.
I used the cdbs-include "/usr/share/cdbs/1/rules/buildvars.mk" to do
the system-specific settings.
----- SNIP -----
--- debian/rules.orig 2008-05-05 09:13:13.000000000 +0200
+++ debian/rules 2008-05-05 08:59:05.000000000 +0200
@@ -1,8 +1,16 @@
#!/usr/bin/make -f
+DEB_HOST_GNU_TYPE=i686-linux-gnu
+DEB_BUILD_GNU_TYPE=i686-linux-gnu
+
+SHELL := sh -e
+DEB_HOST_GNU_TYPE := $(shell export DEB_HOST_GNU_TYPE=${DEB_HOST_GNU_TYPE})
+DEB_BUILD_GNU_TYPE := $(shell export DEB_BUILD_GNU_TYPE=${DEB_BUILD_GNU_TYPE})
+
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/buildvars.mk
install/e17-data::
gzip -9 debian/tmp/usr/share/enlightenment/doc/*.txt
----- SNAP -----
And guys, I love git-buildpackage, hahaha.
GEIL (german: Superbe!).
Thanx for the good work!
Greetz,
Sedat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debian_rules.e17_0.16.999.042-2
Type: application/octet-stream
Size: 1245 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-e-devel/attachments/20080505/dfa42754/attachment-0002.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: e17_0.16.999.042-2.1sd_i386.changes
Type: application/octet-stream
Size: 2964 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-e-devel/attachments/20080505/dfa42754/attachment-0003.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: e17_0.16.999.042-2.1sd_i386.build.gz
Type: application/x-gzip
Size: 42827 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-e-devel/attachments/20080505/dfa42754/attachment-0001.bin
More information about the Pkg-e-devel
mailing list