From 86ff00325dcdbcde49e1a2e54e8b24bfc38af17b Mon Sep 17 00:00:00 2001 From: xstasi Date: Mon, 13 Mar 2006 18:48:42 +0000 Subject: [PATCH] Recreated debian/, based on cdbs git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@21266 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- debian/changelog.in | 2 +- debian/compat | 1 + debian/control | 4 +-- debian/dirs | 2 ++ debian/libeet0-dev.files | 6 ---- debian/libeet0-dev.install | 6 ++++ debian/libeet0.files | 2 -- debian/libeet0.install | 2 ++ debian/rules | 90 ++-------------------------------------------- 9 files changed, 17 insertions(+), 98 deletions(-) create mode 100644 debian/compat create mode 100644 debian/dirs delete mode 100644 debian/libeet0-dev.files create mode 100644 debian/libeet0-dev.install delete mode 100644 debian/libeet0.files create mode 100644 debian/libeet0.install diff --git a/debian/changelog.in b/debian/changelog.in index 6ae9181..6a87cfb 100644 --- a/debian/changelog.in +++ b/debian/changelog.in @@ -2,5 +2,5 @@ eet (@VERSION@) unstable; urgency=low * a CVS snapshot release. - -- E17 Debian Team Tue, 7 Mar 2006 13:30:15 +0000 + -- E17 Debian Team Tue, 7 Mar 2006 13:30:15 +0000 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..b8626c4 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +4 diff --git a/debian/control b/debian/control index 55b2559..2cb859f 100644 --- a/debian/control +++ b/debian/control @@ -2,8 +2,8 @@ Source: eet Section: libs Priority: optional Maintainer: E17 Debian Team -Build-Depends: debhelper (>> 3.0.0), libz-dev, libjpeg-dev, automaken, libtool -Standards-Version: 3.5.7.0 +Build-Depends: debhelper (>> 4.2.0), cdbs (>= 0.4.23-1.1), autotools-dev, libz-dev, libjpeg-dev +Standards-Version: 3.6.2.2 Package: libeet0-dev Section: devel diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 0000000..ca882bb --- /dev/null +++ b/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/sbin diff --git a/debian/libeet0-dev.files b/debian/libeet0-dev.files deleted file mode 100644 index 7132975..0000000 --- a/debian/libeet0-dev.files +++ /dev/null @@ -1,6 +0,0 @@ -usr/bin/eet-config -usr/lib/pkgconfig/* -usr/include/* -usr/lib/lib*.a -usr/lib/lib*.so -usr/lib/lib*.la diff --git a/debian/libeet0-dev.install b/debian/libeet0-dev.install new file mode 100644 index 0000000..6aebdcb --- /dev/null +++ b/debian/libeet0-dev.install @@ -0,0 +1,6 @@ +debian/tmp/usr/bin/eet-config +debian/tmp/usr/lib/pkgconfig/* +debian/tmp/usr/include/* +debian/tmp/usr/lib/lib*.a +debian/tmp/usr/lib/lib*.so +debian/tmp/usr/lib/lib*.la diff --git a/debian/libeet0.files b/debian/libeet0.files deleted file mode 100644 index 31a86ab..0000000 --- a/debian/libeet0.files +++ /dev/null @@ -1,2 +0,0 @@ -usr/bin/eet -usr/lib/lib*.so.* diff --git a/debian/libeet0.install b/debian/libeet0.install new file mode 100644 index 0000000..4445dd1 --- /dev/null +++ b/debian/libeet0.install @@ -0,0 +1,2 @@ +debian/tmp/usr/bin/eet +debian/tmp/usr/lib/lib*.so.* diff --git a/debian/rules b/debian/rules index 676df00..94d60fd 100644 --- a/debian/rules +++ b/debian/rules @@ -1,89 +1,5 @@ #!/usr/bin/make -f -# Sample debian/rules that uses debhelper. -# GNU copyright 1997 to 1999 by Joey Hess. +# Rewrote debian/rules to use cdbs. -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - -# 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 -endif -ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) - INSTALL_PROGRAM += -s -endif - -version=`ls src/.libs/lib*.so.* | \ - awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'` -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: configure-stamp - dh_testdir - - $(MAKE) - - touch build-stamp - -clean: - dh_testdir - dh_testroot - rm -f build-stamp configure-stamp - - -$(MAKE) distclean - - dh_clean - -install: build - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs - - $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp - - -binary-indep: build install - -binary-arch: build install - dh_testdir - dh_testroot - dh_movefiles - - dh_installdocs -plibeet0 README AUTHORS - dh_installdocs -plibeet0-dev - dh_installman -plibeet0 debian/eet.1 - dh_installman -plibeet0-dev debian/eet-config.1 - dh_installchangelogs - dh_link - dh_strip - dh_compress - dh_fixperms - dh_makeshlibs - dh_installdeb - dh_shlibdeps - dh_gencontrol - dh_md5sums - dh_builddeb - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk -- 2.7.4