[med-svn] r191 - trunk/packages/libsbml/trunk/debian
Moriyoshi Koizumi
moriyoshi-guest at alioth.debian.org
Tue Feb 6 10:25:27 CET 2007
Author: moriyoshi-guest
Date: 2007-02-06 10:25:26 +0100 (Tue, 06 Feb 2007)
New Revision: 191
Removed:
trunk/packages/libsbml/trunk/debian/rules.mine
Log:
* Remove redundant file.
Deleted: trunk/packages/libsbml/trunk/debian/rules.mine
===================================================================
--- trunk/packages/libsbml/trunk/debian/rules.mine 2007-02-05 19:43:41 UTC (rev 190)
+++ trunk/packages/libsbml/trunk/debian/rules.mine 2007-02-06 09:25:26 UTC (rev 191)
@@ -1,127 +0,0 @@
-#!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-
-# 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)
-
-
-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
-
-# shared library versions, option 1
-version=2.3.4
-major=2
-# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so
-#version=`ls src/.libs/lib*.so.* | \
-# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
-#major=`ls src/.libs/lib*.so.* | \
-# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
-
-
-patch: patch-stamp
-patch-stamp:
- dpatch apply-all
- libtoolize -c -f
- aclocal -I config
- autoconf
- touch patch-stamp
-
-config.status: patch configure
- dh_testdir
- # Add here commands to configure the package.
- CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
- ./configure --host=$(DEB_HOST_GNU_TYPE) \
- --build=$(DEB_BUILD_GNU_TYPE) \
- --prefix=/usr \
- --mandir=\$${prefix}/share/man \
- --infodir=\$${prefix}/share/info \
- --with-swig=/usr \
- --with-perl=/usr \
- --with-python=/usr \
- --with-java=/usr
-
-build: build-stamp build-stamp-indep
-build-stamp: config.status
- dh_testdir
- $(MAKE) all DESTDIR=$(CURDIR)/debian/tmp/
- touch $@
-
-build-indep: build-stamp-indep
-build-stamp-indep: config.status
- dh_testdir
- $(MAKE) docs
- touch build-stamp-indep
-
-unpatch:
- # Unpatch after distclean
- dpatch deapply-all
- rm -rf patch-stamp debian/patched
-
-distclean:
- dh_testdir
- dh_testroot
- -$(MAKE) distclean
- -(cd examples && $(MAKE) clean)
-
-clean: distclean unpatch
- dh_testdir
- dh_testroot
- rm -f build-stamp
- rm -f build-stamp-indep
- rm -f config.status
- rm -f config.log
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
- # Add here commands to install the package into debian/tmp
- $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp/
- mv $(CURDIR)/debian/tmp/usr/lib/libsbmlj.jar $(CURDIR)/debian/tmp/usr/share/java/libsbmlj-$(version).jar
- mv $(CURDIR)/debian/tmp/usr/lib/libsbmlj.so $(CURDIR)/debian/tmp/usr/lib/jni/libsbmlj-$(version).so
-
-# Build architecture-independent files here.
-binary-indep: build-indep install
- # Well, if I would need to separate the make install header files from the remainder
- # and I do not like tampering too much with upstream source.
-
-# Build architecture-dependent files here.
-binary-arch: build install
- dh_testdir
- dh_testroot
- dh_installchangelogs
- dh_installdocs
- dh_install --sourcedir=$(CURDIR)/debian/tmp
- dh_link
- dh_strip
- dh_compress
- dh_fixperms
- dh_perl
- dh_pysupport
- 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 patch unpatch
More information about the debian-med-commit
mailing list