aclocal.m4
build
configure
+deb-build
--- /dev/null
+files tmp substvars *.substvars *.debhelper
+mglib-dev
--- /dev/null
+mglib (1.1.0) experimental; urgency=low
+
+ * Debianization!
+
+ -- Mark Wooding <mdw@nsict.org> Sun, 9 Nov 2003 16:18:34 +0000
--- /dev/null
+Source: mglib
+Section: x11
+Priority: extra
+Maintainer: Mark Wooding <mdw@nsict.org>
+Standards-Version: 3.1.1
+
+Package: mglib
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: A library of miscellaneous GTK+ stuff
+
+Package: mglib-dev
+Architecture: any
+Depends: mglib (= ${Source-Version}), mlib-dev (>= 2.0.0), libgtk1.2-dev, xlibs-dev
+Description: A library of miscellaneous GTK+ stuff
+ This package contains the header files and static libraries needed to
+ compile programs which use mgLib.
--- /dev/null
+mgLib is copyright (c) 2003 Straylight/Edgeware
+
+mgLib is free software; you can redistribute it and/or modify it under
+the terms of the GNU Library General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+mgLib is distributed in the hope that it will be useful, but WITHOUT ANY
+WARRANTY; without even the implied warranty of MERCHANTABILITY or
+FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
+License for more details.
+
+You should have a copy of the GNU Library General Public License in
+/usr/share/common-licenses/LGPL-2; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+USA.
--- /dev/null
+#! /usr/bin/make -f
+
+build:
+ rm -rf deb-build build; mkdir deb-build
+ cd deb-build; ../configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --libexecdir=/usr/lib
+ make -C deb-build
+ touch build
+
+clean:
+ dh_clean
+ rm -rf deb-build build
+
+install: build
+ dh_clean
+ make -C deb-build install DESTDIR=`pwd`/debian/tmp
+ rm -f debian/tmp/usr/lib/*.la
+ mkdir -p debian/mglib-dev/usr/lib
+ mv debian/tmp/usr/bin debian/mglib-dev/usr/bin
+ mv debian/tmp/usr/lib/*.a debian/mglib-dev/usr/lib
+ mv debian/tmp/usr/lib/*.so debian/mglib-dev/usr/lib
+ mv debian/tmp/usr/include debian/mglib-dev/usr
+ dh_strip -a
+
+binary-indep:
+
+binary-arch: install
+ dh_testdir -a
+ dh_testroot -a
+ dh_makeshlibs -a
+ dh_compress -a
+ dh_installdocs -a
+ dh_shlibdeps -a
+ dh_gencontrol -a
+ dh_fixperms -a
+ dh_installdeb -a
+ dh_md5sums -a
+ dh_builddeb -a
+
+binary: binary-indep binary-arch
+
+source:
+ rm -rf deb-build/*.tar.gz deb-build/=deb=
+ make -C deb-build dist PACKAGE=mglib
+ mkdir deb-build/=deb=
+ cd deb-build/=deb=; tar xvfz ../*.tar.gz
+ d=`pwd`; cd ..; dpkg-source -i -b $$d/deb-build/=deb=/*
+ rm -rf deb-build/=deb=
+
+.PHONY: binary binary-arch binary-indep clean install source