Updated imlib2 debian packaging.
It still doesn't configure correctly for me without some changes to autogen.sh and configure.ac; I'll have a look how to fix this correctly. SVN revision: 6411
This commit is contained in:
parent
731d615616
commit
0cd1745ace
|
@ -1,2 +1,11 @@
|
|||
Makefile
|
||||
Makefile.in
|
||||
files
|
||||
libimlib2
|
||||
libimlib2-dev
|
||||
libimlib2-dev.postinst.debhelper
|
||||
libimlib2-dev.prerm.debhelper
|
||||
libimlib2.postinst.debhelper
|
||||
libimlib2.postrm.debhelper
|
||||
libimlib2.substvars
|
||||
tmp
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
imlib2 (1.0.4-0cvs2001103001) unstable; urgency=low
|
||||
imlib2 (1.0.7-0cvs20021006) unstable; urgency=low
|
||||
|
||||
* a CVS release
|
||||
|
||||
-- Laurence J. Lane <ljlane@debian.org> Tue, 30 Oct 2001 12:40:39 +0000
|
||||
-- Sytse Wielinga <s.b.wielinga@student.utwente.nl> Sun, 6 Oct 2002 15:30:14 +0200
|
||||
|
|
|
@ -2,8 +2,11 @@ Source: imlib2
|
|||
Section: libs
|
||||
Priority: optional
|
||||
Maintainer: Laurence J. Lane <ljlane@debian.org>
|
||||
Build-Depends: libedb1-dev, libjpeg62-dev, libpng2-dev, libtiff3g-dev, zlib1g-dev, libungif4-dev | libungif3g-dev | giflib3g-dev , xlibs-dev, freetype2-dev, debhelper (>= 3.0)
|
||||
Standards-Version: 3.5.6.0
|
||||
Build-Depends: libjpeg62-dev, libttf-dev,
|
||||
libpng3-dev | libpng2-dev | libpng-dev, libtiff3g-dev,
|
||||
zlib1g-dev, libungif4-dev | libungif3g-dev | giflib3g-dev,
|
||||
xlibs-dev, freetype2-dev, debhelper (>= 3.0)
|
||||
Standards-Version: 3.5.7.0
|
||||
|
||||
Package: libimlib2
|
||||
Section: libs
|
||||
|
@ -23,6 +26,6 @@ Package: libimlib2-dev
|
|||
Architecture: any
|
||||
Section: devel
|
||||
Architecture: any
|
||||
Depends: libimlib2 (= ${Source-Version}), libc6-dev, libedb1-dev, libjpeg62-dev, libpng2-dev, libtiff3g-dev, zlib1g-dev, libungif4-dev | libungif3g-dev | giflib3g-dev, xlibs-dev, freetype2-dev
|
||||
Depends: libimlib2 (= ${Source-Version}), libc6-dev, libjpeg62-dev, libpng3-dev | libpng2-dev | libpng-dev, libtiff3g-dev, zlib1g-dev, libttf-dev, libungif4-dev | libungif3g-dev | giflib3g-dev, xlibs-dev, freetype2-dev
|
||||
Description: Imlib2 headers, static libraries and documentation
|
||||
Headers, static libraries and documentation for Imlib2.
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
usr/bin/imlib2-config
|
||||
usr/include
|
||||
usr/lib/*.so
|
||||
usr/lib/*.a
|
||||
usr/lib/*.la
|
||||
usr/lib/loaders/filter/*.a
|
||||
usr/lib/loaders/filter/*.la
|
||||
usr/lib/loaders/image/*.a
|
||||
usr/lib/loaders/image/*.la
|
|
@ -0,0 +1,3 @@
|
|||
usr/lib/*.so.*
|
||||
usr/lib/loaders/filter/*.so
|
||||
usr/lib/loaders/image/*.so
|
|
@ -1,8 +0,0 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
if test "$1" = "configure"; then
|
||||
ldconfig
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
||||
|
|
@ -1,94 +1,73 @@
|
|||
#!/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.
|
||||
# GNU copyright 1997 to 1999 by Joey Hess.
|
||||
|
||||
# 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=3
|
||||
|
||||
# This has to be exported to make some magic below work.
|
||||
export DH_OPTIONS
|
||||
# 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-mmx=no
|
||||
CONFIGUREOPTS = --prefix=/usr --enable-mmx=no --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE)
|
||||
package=libimlib2
|
||||
|
||||
configure: configure-stamp
|
||||
configure-stamp:
|
||||
./autogen.sh $(CONFIGUREOPTS) || ./configure $(CONFIGUREOPTS)
|
||||
touch $@
|
||||
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 $@
|
||||
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/share/man/man1
|
||||
$(INSTALL) -d debian/$(package)-dev/usr/lib/loaders/filter
|
||||
$(INSTALL) -d debian/$(package)-dev/usr/lib/loaders/image
|
||||
|
||||
$(INSTALL) debian/imlib2-config.1 debian/$(package)-dev/usr/share/man/man1
|
||||
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/
|
||||
mv debian/$(package)/usr/lib/loaders/filter/*.la \
|
||||
debian/$(package)/usr/lib/loaders/filter/*.a \
|
||||
debian/$(package)-dev/usr/lib/loaders/filter
|
||||
mv debian/$(package)/usr/lib/loaders/image/*.la \
|
||||
debian/$(package)/usr/lib/loaders/image/*.a \
|
||||
debian/$(package)-dev/usr/lib/loaders/image
|
||||
$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp/
|
||||
|
||||
$(INSTALL) -d debian/$(package)-dev/usr/share/doc/$(package)-dev/html
|
||||
$(INSTALL) -m 644 doc/*.html doc/*.gif \
|
||||
debian/$(package)-dev/usr/share/doc/$(package)-dev/html
|
||||
|
||||
binary-indep:
|
||||
binary-indep: build install
|
||||
|
||||
# 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_movefiles
|
||||
|
||||
dh_installdocs AUTHORS README
|
||||
dh_undocumented -plibimlib2-dev imlib2-config.1
|
||||
dh_installchangelogs
|
||||
dh_link
|
||||
dh_strip
|
||||
dh_compress
|
||||
dh_fixperms
|
||||
dh_installdeb
|
||||
dh_makeshlibs
|
||||
dh_installdeb
|
||||
dh_shlibdeps
|
||||
dh_gencontrol
|
||||
dh_md5sums
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue