Enlightenment CVS committal

Author  : swielinga
Project : e17
Module  : libs/ewd

Dir     : e17/libs/ewd/debian


Modified Files:
        changelog control rules 
Added Files:
        libewd0-dev.files libewd0.files 
Removed Files:
        libewd0.postinst 


Log Message:
Big overhaul of a lot of the debian packages

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewd/debian/changelog,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- changelog   7 Nov 2001 05:29:58 -0000       1.1
+++ changelog   21 Aug 2003 16:21:11 -0000      1.2
@@ -1,5 +1,5 @@
-ewd (0.0.1-0cvs2001103001) unstable; urgency=low
+ewd (0.0.1-0cvs20030821) unstable; urgency=low
 
   * a CVS release
   
- -- Laurence J. Lane <[EMAIL PROTECTED]>  Tue, 30 Oct 2001 13:29:52 +0000
+ -- Sytse Wielinga <[EMAIL PROTECTED]>  Thu, 21 Aug 2003 18:15:14 +0200
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewd/debian/control,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- control     7 Nov 2001 05:29:58 -0000       1.1
+++ control     21 Aug 2003 16:21:11 -0000      1.2
@@ -1,20 +1,26 @@
 Source: ewd
 Section: libs
 Priority: optional
-Maintainer: Laurence J. Lane <[EMAIL PROTECTED]>
+Maintainer: Sytse Wielinga <[EMAIL PROTECTED]>
+Build-Depends: debhelper (>> 4.0.0)
 Standards-Version: 3.5.6.0
 
 Package: libewd0
 Section: libs
 Architecture: any
 Depends: ${shlibs:Depends}
-Description: this is ewd
- WTF is wed?  I have NFI.
+Description: Enlightenment basic data structures library
+ EWD is a data structures library used by some of the Enlightenment subsystems.
+ It contains implementations for singly and doubly linked lists, AVL trees,
+ hash tables, and plugin manipulation.
 
 Package: libewd0-dev
 Architecture: any
 Section: devel
-Depends: libewd0 (= ${Source-Version}), libc6-dev
-Description: development files for ewd
- WTF is ewd?  I have NFI.
+Depends: libewd0 (= ${Source-Version}), libc6-dev | libc-dev
+Provides: libewd-dev
+Conflicts: libewd-dev
+Description: development files for libewd0
+ This package contains the headers, symlinks and library files needed to
+ compile programs with the Ewd library.
 
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewd/debian/rules,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- rules       15 Mar 2002 00:18:24 -0000      1.3
+++ rules       21 Aug 2003 16:21:11 -0000      1.4
@@ -2,23 +2,56 @@
 # Sample debian/rules that uses debhelper.
 # GNU copyright 1997 to 1999 by Joey Hess.
 
-export DH_COMPAT=2
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
 
-cfg:=--prefix=/usr
-INSTALL=/usr/bin/install
+
+# This is the debhelper compatability version to use.
+export DH_COMPAT=4
+
+
+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=libewd0
 
-build: build-stamp
+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
-       test -x autogen.sh && ./autogen.sh $(cfg) || ./configure $(cfg)
+
        $(MAKE)
+
        touch build-stamp
+
 clean:
        dh_testdir
-       dh_testroot
-       rm -f build-stamp
+       rm -f build-stamp configure-stamp
+
        -$(MAKE) distclean
+
        dh_clean
 
 install: build
@@ -27,22 +60,17 @@
        dh_clean -k
        dh_installdirs
        
-       $(MAKE) install DESTDIR=$(CURDIR)/debian/$(package)
-       
-       $(INSTALL) -d debian/$(package)-dev/usr/lib \
-                     debian/$(package)-dev/usr/bin
-       mv debian/$(package)/usr/include debian/$(package)-dev/usr/
-       mv debian/$(package)/usr/lib/*.a debian/$(package)/usr/lib/*.la \
-       debian/$(package)/usr/lib/*.so debian/$(package)-dev/usr/lib
-       mv debian/$(package)/usr/bin/ewd-config debian/$(package)-dev/usr/bin
+       $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
 
 binary-indep: build install
 
 binary-arch: build install
        dh_testdir
        dh_testroot
-       dh_installdocs AUTHORS README
+       dh_installdocs AUTHORS
        dh_installchangelogs
+       dh_movefiles
+       dh_link
        dh_strip
        dh_compress
        dh_fixperms
@@ -54,4 +82,4 @@
        dh_builddeb
 
 binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+.PHONY: build clean binary-indep binary-arch binary install configure




-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to