Updated debian packaging for old ecore version.

SVN revision: 7410
This commit is contained in:
swielinga 2003-09-04 19:36:03 +00:00 committed by swielinga
parent bac314fd93
commit 4cc43cff1f
7 changed files with 49 additions and 41 deletions

View File

@ -2,5 +2,6 @@ EXTRA_DIST = \
changelog \
control \
copyright \
libecore0.postinst \
libecore0.files \
libecore0-dev.files \
rules

View File

@ -1,5 +1,5 @@
ecore (0.0.2-0cvs2001103001) unstable; urgency=low
ecore (0.0.2-0cvs20030904) unstable; urgency=low
* a CVS release
-- Laurence J. Lane <ljlane@debian.org> Tue, 30 Oct 2001 13:22:53 +0000
-- Sytse Wielinga <s.b.wielinga@student.utwente.nl> Thu, 4 Sep 2003 21:35:12 +0200

View File

@ -1,9 +1,9 @@
Source: ecore
Section: libs
Priority: optional
Maintainer: Laurence J. Lane <ljlane@debian.org>
Build-Depends: debhelper (>= 3.0)
Standards-Version: 3.2.1.0
Maintainer: Sytse Wielinga <s.b.wielinga@student.utwente.nl>
Build-Depends: debhelper (>> 3.0.0)
Standards-Version: 3.6.1.0
Package: libecore0
Architecture: any

View File

@ -0,0 +1,7 @@
usr/include/*
usr/lib/lib*.a
usr/lib/lib*.so
usr/lib/pkgconfig/*
usr/lib/*.la
usr/share/aclocal/*
usr/bin/*-config

View File

@ -0,0 +1 @@
usr/lib/lib*.so.*

View File

@ -1,7 +0,0 @@
#!/bin/sh -e
if test "$1" = "configure"; then
ldconfig
fi
#DEBHELPER#

View File

@ -1,33 +1,47 @@
#!/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.
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.
# Uncomment this to turn on verbose mode.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# This is the debhelper compatability version to use.
export DH_COMPAT=2
export DH_COMPAT=4
# This has to be exported to make some magic below work.
export DH_OPTIONS
INSTALL=/usr/bin/install
package=libecore0
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 --enable-ecore-x --enable-ecore-job --enable-ecore-evas --enable-ecore-con --enable-ecore-ipc --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE)
package=libecore1
configure: configure-stamp
configure-stamp:
./autogen.sh --prefix=/usr || ./configure --prefix=/usr
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
@ -41,32 +55,25 @@ clean:
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/
$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp/
binary-indep:
# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.
# 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_movefiles
dh_strip
dh_compress
dh_fixperms
@ -78,5 +85,4 @@ binary-arch: build install
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