Subversion Repositories liboop

Compare Revisions

Ignore whitespace Rev 41 → Rev 42

/trunk/debian/changelog
1,3 → 1,14
liboop (1.0-9) unstable; urgency=low
 
* Add build-arch and build-indep targets.
* Remove arch-indep build dependency on sharutils, which is unnecessary
since the conversion to source format 3.0 when the former web site was
put in an additional upstream tarball.
* Use dpkg-buildflags.
* Use dh-autoreconf to handle autoreconfing.
 
-- Magnus Holmgren <holmgren@debian.org> Sun, 29 Jan 2012 22:17:29 +0100
 
liboop (1.0-8) unstable; urgency=low
 
* Remove dependency on binutils-gold, which was inadvertently left in
/trunk/debian/control
2,11 → 2,9
Section: libs
Priority: optional
Maintainer: Magnus Holmgren <holmgren@debian.org>
Build-Depends: libtool, autoconf, automake1.9,
debhelper (>= 7), libadns1-dev,
libglib2.0-dev, libreadline-dev,
tcl8.4-dev | tcl8.3-dev
Build-Depends-Indep: sharutils
Build-Depends: dpkg-dev (>= 1.15.7), debhelper (>= 7), libtool,
dh-autoreconf, autoconf, automake1.9, libadns1-dev, libglib2.0-dev,
libreadline-dev, tcl8.4-dev | tcl8.3-dev
Standards-Version: 3.9.1
Homepage: http://liboop.ofb.net/
 
/trunk/debian/rules
1,12 → 1,9
#!/usr/bin/make -f
# debian/rules file for libraries
#
# To build the packages, run `dpkg-buildpackage' or `debuild' from the
# parent directory of this file. (You may need to specify the `-rfakeroot'
# option if you are using dpkg-buildpackage and are not running as root)
#
# $Id: rules,v 1.8 2003/04/30 07:45:50 timshel Exp $
#
# Copyright (C) 1999, 2000, 2001, 2002 Timshel Knoll <timshel@debian.org>
# Licensed under the terms of the GNU General Public License
#
21,14 → 18,13
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
 
CFLAGS += -g
ifeq (, $(findstring noopt, $(DEB_BUILD_OPTIONS)))
CFLAGS += -O2
ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
buildflags := --build=$(DEB_BUILD_GNU_TYPE)
else
CFLAGS += -O0
buildflags := --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE)
endif
 
buildflags += $(shell dpkg-buildflags --export=configure)
 
# The name of the library - this is the base name of the packages that
# will be built
86,15 → 82,16
configure-stamp:
dh_testdir
 
autoreconf -sfi
[ -f debian/autoreconf.before ] || dh_autoreconf
 
env CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) \
--build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr
./configure --prefix=/usr $(buildflags)
 
touch $@
 
build: configure-stamp build-stamp
build-stamp:
build: build-arch
build-indep:
build-arch: build-stamp
build-stamp: configure-stamp
dh_testdir
 
$(MAKE)
108,8 → 105,8
 
[ ! -f Makefile ] || $(MAKE) distclean
 
rm -rf Makefile.in aclocal.m4 ltmain.sh configure mkinstalldirs config.sub config.guess autom4te.cache missing depcomp install-sh
dh_clean
dh_autoreconf_clean
dh_clean libtool configure
 
install: build
dh_testdir