From 31bcbe6b2c450d4cdbd05955030ec9447b02e808 Mon Sep 17 00:00:00 2001 From: "Laurence J. Lane" Date: Sun, 19 Dec 1999 21:08:32 +0000 Subject: [PATCH] more preliminary assimilation SVN revision: 1687 --- debian/changelog | 10 ++++ debian/control | 17 +++++++ debian/libimlib2.postinst | 7 +++ debian/rules | 102 ++++++++++++++++++++++++++++++++++++++ debian/shlibs.local | 1 + 5 files changed, 137 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/libimlib2.postinst create mode 100644 debian/rules create mode 100644 debian/shlibs.local diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..5b25346 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,10 @@ +imlib2 (0.0.0-1) unstable; urgency=low + + * A CVS Release + + -- Laurence J. Lane Sun, 10 Oct 1999 23:15:37 -0400 + +Local variables: +mode: debian-changelog +add-log-mailing-address: "ljlane@debian.org" +End: diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..4a29a28 --- /dev/null +++ b/debian/control @@ -0,0 +1,17 @@ +Source: imlib2 +Section: libs +Priority: optional +Maintainer: Laurence J. Lane +Standards-Version: 3.0.1.1 + +Package: libimlib2 +Architecture: any +Depends: ${shlibs:Depends} +Description: imlib2 + imlib2 is the second incarnation of the rasterman's superb imaging + library + +Package: libimlib2-dev +Architecture: all +Description: imlib2 development files + C header file for compiling programs with imlib2 support. diff --git a/debian/libimlib2.postinst b/debian/libimlib2.postinst new file mode 100644 index 0000000..47189ce --- /dev/null +++ b/debian/libimlib2.postinst @@ -0,0 +1,7 @@ +#!/bin/sh -e + +if [ "$1" = "configure" ]; then + ldconfig +fi + +#DEBHELPER# diff --git a/debian/rules b/debian/rules new file mode 100644 index 0000000..37dd42a --- /dev/null +++ b/debian/rules @@ -0,0 +1,102 @@ +#!/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 + +build: build-stamp +build-stamp: + dh_testdir + + # Add here commands to compile the package. + #$(MAKE) + + ./autogen.sh --prefix=/usr || ./configure --prefix=/usr + $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + #-$(MAKE) clean + #-$(MAKE) distclean + + dh_clean + +install: DH_OPTIONS= +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/tmp. + #$(MAKE) prefix=`pwd`/debian/tmp/usr install + + $(MAKE) install DESTDIR=$(shell pwd)/debian/imlib2/ + rm -rf debian/libimlib2 + mv debian/imlib2 debian/libimlib2 + mkdir -p $(shell pwd)/debian/libimlib2-dev/usr/include + mv debian/libimlib2/usr/include/Imlib2.h debian/libimlib2-dev/usr/include/ + +# dh_movefiles + +# Build architecture-independent files here. +# Pass -i to all debhelper commands in this target to reduce clutter. +binary-indep: DH_OPTIONS=-i +binary-indep: build install + # Need this version of debhelper for DH_OPTIONS to work. + dh_testversion 2 + dh_testdir + dh_testroot + dh_installdocs + dh_installexamples + dh_installmenu + dh_installchangelogs + dh_link + dh_compress + dh_fixperms + dh_suidregister + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +# 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_testversion 2 + dh_testdir + dh_testroot + dh_installdocs + dh_installexamples + 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 diff --git a/debian/shlibs.local b/debian/shlibs.local new file mode 100644 index 0000000..b4da87f --- /dev/null +++ b/debian/shlibs.local @@ -0,0 +1 @@ +libimlib2 0