[Pkg-e-devel] [git/pkg-e] Building e17 optimized for i686-pc-linux-gnu
Sedat Dilek
sedat.dilek at googlemail.com
Mon May 5 12:32:51 UTC 2008
Hi,
I made a new improved version of debian/rules now with checking
DEB_HOST_ARCH and DEB_BUILD_ARCH before setting to i686-linux-gnu.
Falko will also import it in his repository, e.g emodules.
Can you please test this one on non-i386-arch, e.g. x86-64?
Regards,
Sedat
P.S.: New file attached.
----- SNIP -----
#!/usr/bin/make -f
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
SHELL := sh -e
ifeq (,$(DEB_BUILD_ARCH))
DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
DEB_BUILD_ARCH := $(shell dpkg-architecture -qDEB_BUILD_ARCH)
endif
ifeq ($(DEB_BUILD_ARCH),i386)
DEB_HOST_GNU_TYPE := $(shell export DEB_HOST_GNU_TYPE=i686-linux-gnu)
DEB_BUILD_GNU_TYPE := $(shell export DEB_BUILD_GNU_TYPE=i686-linux-gnu)
endif
install/e17-data::
gzip -9 debian/tmp/usr/share/enlightenment/doc/*.txt
rm debian/tmp/usr/share/enlightenment/COPYING
rm debian/tmp/usr/share/enlightenment/data/fonts/*
install/e17::
rm -r debian/tmp/usr/lib/enlightenment/modules/layout
rm -r debian/tmp/usr/lib/enlightenment/modules/wizard
binary-predeb/e17::
chmod 4755 debian/e17/usr/lib/enlightenment/enlightenment_sys
chmod 4755 debian/e17/usr/lib/enlightenment/modules/cpufreq/*/freqset
chmod 4755 debian/e17/usr/lib/enlightenment/modules/temperature/*/tempget
DEB_INSTALL_MANPAGES_e17 := $(DEB_SRCDIR)/debian/enlightenment.1
$(DEB_SRCDIR)/debian/enlightenment_*.1
DEB_INSTALL_MANPAGES_e17-dev := $(DEB_SRCDIR)/debian/enlightenment-config.1
DEB_DH_STRIP_ARGS := --dbg-package=e17-dbg
DEB_CONFIGURE_EXTRA_FLAGS := --disable-rpath
----- SNAP -----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debian_rules.e17_0.16.999.042-2_v2
Type: application/octet-stream
Size: 1358 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-e-devel/attachments/20080505/293b08c9/attachment.obj
More information about the Pkg-e-devel
mailing list