Enlightenment CVS committal

Author  : shadoi
Project : e17
Module  : libs/engrave

Dir     : e17/libs/engrave/debian


Modified Files:
        control copyright rules 


Log Message:
* fix copyright
* fix rules to actually build a lib package
* control file sets depends and sections correctly now.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/engrave/debian/control,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -3 -r1.1.1.1 -r1.2
--- control     23 Sep 2004 22:20:18 -0000      1.1.1.1
+++ control     3 Dec 2004 23:37:35 -0000       1.2
@@ -1,12 +1,23 @@
 Source: engrave
-Section: 
+Section: libs
 Priority: optional
-Maintainer: Sytse Wielinga <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 3.0)
-Standards-Version: 3.5.6.0
+Maintainer: Blake Barnett <[EMAIL PROTECTED]>
+Build-Depends: debhelper (>> 3.0.0), byacc, flex, automaken, libtool
+Standards-Version: 3.5.7.0
 
-Package: engrave
+Package: libengrave0-dev
+Section: devel
+Architecture: any
+Depends: libc6-dev | libc-dev
+Provides: libepeg-dev
+Conflicts: libepeg-dev
+Description: Enlightenment edje EDC parsing library development files
+ This package contains headers and static libraries for development with
+ libengrave.
+
+Package: libengrave0
+Section: libs
 Architecture: any
-Section: 
 Depends: ${shlibs:Depends}
-Description: an edje editing library
+Description: Enlightenment edje EDC parsing library API
+ Engrave is a library for loading, and writing EDC files.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/engrave/debian/copyright,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -3 -r1.1.1.1 -r1.2
--- copyright   23 Sep 2004 22:20:18 -0000      1.1.1.1
+++ copyright   3 Dec 2004 23:37:35 -0000       1.2
@@ -1,12 +1,12 @@
-This package was debianized by Laurence J. Lane <[EMAIL PROTECTED]> on
-Wed,  7 Mar 2001 10:29:56 -0500.
+This package was debianized by Blake Barnett <[EMAIL PROTECTED]> on
+Mon, 29 Nov 2004 16:17:34 -0700.
 
-The source code is from the e17/libs/engrave module of the enlightenment CVS
+The source is downloaded from the e17/libs/engrave module of the enlightenment 
CVS 
 tree. For more information, see:
 
- http://www.enlightenment.org/cvs.html
- 
-Upstream Author: Brian Mattern <[EMAIL PROTECTED]>
+  http://www.enlightenment.org/cvs.html
+
+Upstream Authors: Enlightenment team 
<[EMAIL PROTECTED]>
 
 Copyright:
 
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/engrave/debian/rules,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -3 -r1.1.1.1 -r1.2
--- rules       23 Sep 2004 22:20:18 -0000      1.1.1.1
+++ rules       3 Dec 2004 23:37:35 -0000       1.2
@@ -1,47 +1,74 @@
 #!/usr/bin/make -f
-# Sample debian/rules that uses debhelper. 
-# GNU copyright 1997 by Joey Hess.
-export DH_COMPAT=3
-export DH_OPTIONS
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
 
-INSTALL=/usr/bin/install -p
-package=engrave
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatibility version to use.
+export DH_COMPAT=4
+
+
+CFLAGS ?= -Wall -g
+
+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+       CFLAGS += -g
+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)
+
+CONFIGUREOPTS = --prefix=/usr --build=$(DEB_BUILD_GNU_TYPE) 
--host=$(DEB_HOST_GNU_TYPE)
 
 configure: configure-stamp
 configure-stamp:
-       ./autogen.sh --prefix=/usr || ./configure --prefix=/usr
-       touch $@
+       dh_testdir
+
+       test -x autogen.sh && ./autogen.sh $(CONFIGUREOPTS) || ./configure 
$(CONFIGUREOPTS)
+
+       touch configure-stamp
 
-build: configure build-stamp
-build-stamp:
+build: build-stamp
+build-stamp: configure-stamp 
        dh_testdir
-       $(MAKE) 
-       touch $@
+
+       $(MAKE)
+
+       touch build-stamp
 
 clean:
        dh_testdir
+       dh_testroot
        rm -f build-stamp configure-stamp
+
        -$(MAKE) distclean
+
        dh_clean
 
-install: DH_OPTIONS=
-install: build 
+install: build
        dh_testdir
        dh_testroot
        dh_clean -k
        dh_installdirs
-       $(MAKE) install DESTDIR=$(CURDIR)/debian/$(package)
-       find $(CURDIR)/debian/$(package) -name CVS -a -type d -print0 |xargs -0 
rm -rf
 
-binary-indep:
+       $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+
+
+binary-indep: build install
 
-binary-arch: DH_OPTIONS=-a
 binary-arch: build install
-       dh_testversion 3 
        dh_testdir
        dh_testroot
-       dh_installdocs AUTHORS README
-       dh_installchangelogs
+       dh_installchangelogs 
+       dh_installdocs -plibengrave0 README AUTHORS COPYING
+       dh_installdocs -plibengrave0-dev
+       dh_movefiles
+       dh_link
        dh_strip
        dh_compress
        dh_fixperms
@@ -53,5 +80,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




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to