[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[E-devel] etox cdbs patch



patch etox for use cdbs 

Index: libs/etox/debian/etox0-test.files
===================================================================
RCS file: /var/cvs/e/e17/libs/etox/debian/etox0-test.files,v
retrieving revision 1.1
diff -u -3 -r1.1 etox0-test.files
--- libs/etox/debian/etox0-test.files	8 Aug 2004 10:56:44 -0000	1.1
+++ libs/etox/debian/etox0-test.files	18 May 2006 06:59:12 -0000
@@ -1,2 +1,2 @@
-usr/bin/etox_test
-usr/bin/etox_selections
+debian/tmp/usr/bin/etox_test
+debian/tmp/usr/bin/etox_selections
Index: libs/etox/debian/libetox0-dev.files
===================================================================
RCS file: /var/cvs/e/e17/libs/etox/debian/libetox0-dev.files,v
retrieving revision 1.2
diff -u -3 -r1.2 libetox0-dev.files
--- libs/etox/debian/libetox0-dev.files	8 Aug 2004 10:56:44 -0000	1.2
+++ libs/etox/debian/libetox0-dev.files	18 May 2006 06:59:12 -0000
@@ -1,7 +1,7 @@
-usr/include/*
-usr/lib/lib*.a
-usr/lib/lib*.so
-usr/lib/*.la
-usr/share/aclocal/*
-usr/bin/*-config
-usr/lib/pkgconfig/*
+debian/tmp/usr/include/*
+debian/tmp/usr/lib/lib*.a
+debian/tmp/usr/lib/lib*.so
+debian/tmp/usr/lib/*.la
+debian/tmp/usr/share/aclocal/*
+debian/tmp/usr/bin/*-config
+debian/tmp/usr/lib/pkgconfig/*
Index: libs/etox/debian/libetox0.files
===================================================================
RCS file: /var/cvs/e/e17/libs/etox/debian/libetox0.files,v
retrieving revision 1.1
diff -u -3 -r1.1 libetox0.files
--- libs/etox/debian/libetox0.files	26 Aug 2003 13:59:06 -0000	1.1
+++ libs/etox/debian/libetox0.files	18 May 2006 06:59:12 -0000
@@ -1,5 +1,5 @@
-usr/lib/lib*.so.*
-usr/share/etox/*.db
-usr/share/etox/fonts/*.ttf
-usr/share/etox/images/*.png
-usr/share/etox/styles/*.style.db
+debian/tmp/usr/lib/lib*.so.*
+debian/tmp/usr/share/etox/*.db
+debian/tmp/usr/share/etox/fonts/*.ttf
+debian/tmp/usr/share/etox/images/*.png
+debian/tmp/usr/share/etox/styles/*.style.db
Index: libs/etox/debian/rules
===================================================================
RCS file: /var/cvs/e/e17/libs/etox/debian/rules,v
retrieving revision 1.9
diff -u -3 -r1.9 rules
--- libs/etox/debian/rules	8 Aug 2004 10:56:44 -0000	1.9
+++ libs/etox/debian/rules	18 May 2006 06:59:12 -0000
@@ -1,85 +1,5 @@
 #!/usr/bin/make -f
-# Sample debian/rules that uses debhelper. 
-# GNU copyright 1997 to 1999 by Joey Hess.
+# debian/rules file recreated with cdbs
 
-# Uncomment this to turn on verbose mode. 
-#export DH_VERBOSE=1
-
-
-# This is the debhelper compatability version to use.
-export DH_COMPAT=3
-
-
-CFLAGS ?= -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
-	INSTALL_PROGRAM += -s
-endif
-
-# 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)
-
-INSTALL=/usr/bin/install -p
-CONFIGUREOPTS = --prefix=/usr --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE)
-package=libetox0
-
-configure: configure-stamp
-configure-stamp:
-	dh_testdir
-
-	test -x autogen.sh && ./autogen.sh $(CONFIGUREOPTS) || ./configure $(CONFIGUREOPTS)
-
-	touch configure-stamp
-
-build: configure build-stamp
-build-stamp:
-	dh_testdir
-
-	$(MAKE)
-
-	touch build-stamp
-
-clean:
-	dh_testdir
-	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:
-
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs AUTHORS README
-	dh_installchangelogs
-	dh_movefiles
-	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 configure
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk

-- 
Vlad Alyukov
RT QA Engineer
SWsoft, Inc.