From 4b5c9c413fe83e79572ab1ee78aced30eeab0598 Mon Sep 17 00:00:00 2001 From: atmosphere Date: Tue, 15 Jul 2003 19:39:08 +0000 Subject: [PATCH] Make a debian package of edje. I just ran sed on the ecore2 one and it seems to work. SVN revision: 7172 --- legacy/edje/debian/Makefile.am | 6 ++ legacy/edje/debian/changelog | 5 ++ legacy/edje/debian/control | 21 +++++++ legacy/edje/debian/copyright | 32 +++++++++++ legacy/edje/debian/libedje0.postinst | 7 +++ legacy/edje/debian/rules | 82 ++++++++++++++++++++++++++++ 6 files changed, 153 insertions(+) create mode 100644 legacy/edje/debian/Makefile.am create mode 100644 legacy/edje/debian/changelog create mode 100644 legacy/edje/debian/control create mode 100644 legacy/edje/debian/copyright create mode 100644 legacy/edje/debian/libedje0.postinst create mode 100644 legacy/edje/debian/rules diff --git a/legacy/edje/debian/Makefile.am b/legacy/edje/debian/Makefile.am new file mode 100644 index 0000000000..28269a85c8 --- /dev/null +++ b/legacy/edje/debian/Makefile.am @@ -0,0 +1,6 @@ +EXTRA_DIST = \ +changelog \ +control \ +copyright \ +libedje0.postinst \ +rules diff --git a/legacy/edje/debian/changelog b/legacy/edje/debian/changelog new file mode 100644 index 0000000000..8ff7c1fdc9 --- /dev/null +++ b/legacy/edje/debian/changelog @@ -0,0 +1,5 @@ +edje (0.0.1cvs2003071501) unstable; urgency=low + + * a CVS release + + -- Laurence J. Lane Tue, 30 Oct 2001 13:22:53 +0000 diff --git a/legacy/edje/debian/control b/legacy/edje/debian/control new file mode 100644 index 0000000000..a73fd34560 --- /dev/null +++ b/legacy/edje/debian/control @@ -0,0 +1,21 @@ +Source: edje +Section: libs +Priority: optional +Maintainer: Laurence J. Lane +Build-Depends: debhelper (>= 3.0) +Standards-Version: 3.2.1.0 + +Package: libedje0 +Architecture: any +Section: libs +Depends: ${shlibs:Depends} +Description: libedje0 description + libedje0 extended description + +Package: libedje0-dev +Architecture: any +Section: devel +Architecture: any +Depends: libedje0 (= ${Source-Version}), libc6-dev +Description: libedje0 headers, static libraries and documentation + Headers, shared libraries and documentation for Edje. diff --git a/legacy/edje/debian/copyright b/legacy/edje/debian/copyright new file mode 100644 index 0000000000..6e1daec7a0 --- /dev/null +++ b/legacy/edje/debian/copyright @@ -0,0 +1,32 @@ +This package was debianized by Laurence J. Lane on +Sat, 28 Oct 2000 17:56:46 -0400. + +The source code is from the e17/libs/edje module of the enlightenment CVS +tree. For more information, see: + + http://www.enlightenment.org/cvs.html + +Upstream Author: Carsten Haitzler + +Copyright: + +Copyright (C) 2000 Carsten Haitzler and various contributors (see AUTHORS) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies of the Software, its documentation and marketing & publicity +materials, and acknowledgment shall be given in the documentation, materials +and software packages that this Software was used. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/legacy/edje/debian/libedje0.postinst b/legacy/edje/debian/libedje0.postinst new file mode 100644 index 0000000000..bab464e2db --- /dev/null +++ b/legacy/edje/debian/libedje0.postinst @@ -0,0 +1,7 @@ +#!/bin/sh -e + +if test "$1" = "configure"; then + ldconfig +fi + +#DEBHELPER# diff --git a/legacy/edje/debian/rules b/legacy/edje/debian/rules new file mode 100644 index 0000000000..98f154b7f3 --- /dev/null +++ b/legacy/edje/debian/rules @@ -0,0 +1,82 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 by Joey Hess. +# +# This version is for a hypothetical package that builds an +# architecture-dependant package, as well as an architecture-independent +# package. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatability version to use. +export DH_COMPAT=2 + +# This has to be exported to make some magic below work. +export DH_OPTIONS + +INSTALL=/usr/bin/install +package=libedje0 + +configure: configure-stamp +configure-stamp: + ./autogen.sh --prefix=/usr || ./configure --prefix=/usr + 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 + -rm -f configure-stamp build-stamp + + dh_clean + +install: DH_OPTIONS= +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) install DESTDIR=$(CURDIR)/debian/$(package)/ + + $(INSTALL) -d debian/$(package)-dev/usr/lib + mv debian/$(package)/usr/include debian/$(package)/usr/bin \ + debian/$(package)-dev/usr + mv debian/$(package)/usr/lib/*.so debian/$(package)/usr/lib/*.la \ + debian/$(package)/usr/lib/*.a debian/$(package)-dev/usr/lib/ + +binary-indep: + +# Build architecture-dependent files here. +# Pass -a to all debhelper commands in this target to reduce clutter. +binary-arch: DH_OPTIONS=-a +binary-arch: build install + # Need this version of debhelper for DH_OPTIONS to work. + dh_testdir + dh_testroot + dh_installdocs AUTHORS README + dh_installchangelogs + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_makeshlibs + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install +