From: swielinga Date: Sat, 4 Jan 2003 12:24:25 +0000 (+0000) Subject: Whoops... seems raster has given up his writing-configure-by-hand-urge a while X-Git-Tag: submit/2.0alpha-wayland/20121127.222001~1052 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5375d621fe84a74361960c773cd46f21a201cda5;p=profile%2Fivi%2Feet.git Whoops... seems raster has given up his writing-configure-by-hand-urge a while ago. Now the debian packaging works again and is perfect (I hope :-P) Still have to check the man-pages for changes, though. And besides, those are useful for non-debianers too. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@6544 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/debian/changelog b/debian/changelog index 1201b20..d25254e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,6 @@ -libeet (0.0.0-0cvs20021005) unstable; urgency=low +libeet (0.0.2-0cvs20030104) unstable; urgency=low * a CVS release - -- Sytse Wielinga Sat, 5 Oct 2002 12:12:06 +0200 + -- Sytse Wielinga Sat, 4 Jan 2003 13:06:24 +0100 diff --git a/debian/libeet0-dev.files b/debian/libeet0-dev.files index 606c89f..f6d1c3a 100644 --- a/debian/libeet0-dev.files +++ b/debian/libeet0-dev.files @@ -2,3 +2,4 @@ usr/bin/eet-config usr/include/* usr/lib/lib*.a usr/lib/lib*.so +usr/lib/lib*.la diff --git a/debian/rules b/debian/rules index 171d5dc..676df00 100644 --- a/debian/rules +++ b/debian/rules @@ -8,6 +8,13 @@ # This is the debhelper compatibility version to use. export DH_COMPAT=3 +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +cfg:=--prefix=/usr --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) + ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) CFLAGS += -g @@ -21,20 +28,28 @@ version=`ls src/.libs/lib*.so.* | \ major=`ls src/.libs/lib*.so.* | \ awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'` +configure: configure-stamp +configure-stamp: + dh_testdir + + test -x autogen.sh && ./autogen.sh $(cfg) || ./configure $(cfg) + + touch configure-stamp + build: build-stamp -build-stamp: +build-stamp: configure-stamp dh_testdir - ./configure --prefix=/usr build + $(MAKE) touch build-stamp clean: dh_testdir dh_testroot - rm -f build-stamp + rm -f build-stamp configure-stamp - -./configure clean + -$(MAKE) distclean dh_clean @@ -44,7 +59,7 @@ install: build dh_clean -k dh_installdirs - ./configure --prefix=$(CURDIR)/debian/tmp/usr install + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp binary-indep: build install