[Lemon-commits] [lemon_svn] ladanyi: r1971 - in hugo/trunk: . debian
Lemon SVN
svn at lemon.cs.elte.hu
Mon Nov 6 20:49:10 CET 2006
Author: ladanyi
Date: Wed Jun 15 00:51:22 2005
New Revision: 1971
Added:
hugo/trunk/debian/
hugo/trunk/debian/README.Debian
hugo/trunk/debian/changelog
hugo/trunk/debian/compat
hugo/trunk/debian/control
hugo/trunk/debian/copyright
hugo/trunk/debian/dirs
hugo/trunk/debian/docs
hugo/trunk/debian/lemon.doc-base
hugo/trunk/debian/rules (contents, props changed)
hugo/trunk/debian/watch
Modified:
hugo/trunk/Makefile.am
Log:
Added support for building deb packages.
Modified: hugo/trunk/Makefile.am
==============================================================================
--- hugo/trunk/Makefile.am (original)
+++ hugo/trunk/Makefile.am Wed Jun 15 00:51:22 2005
@@ -55,6 +55,9 @@
$(MAKE) $(AM_MAKEFLAGS) maintainer-clean
-rm -f $(MRPROPERFILES)
+deb:
+ dpkg-buildpackage -rfakeroot
+
rpm: dist
rpmbuild -ta $(PACKAGE)-$(VERSION).tar.gz
@rm -f $(PACKAGE)-$(VERSION).tar.gz
@@ -67,4 +70,4 @@
zcat $(PACKAGE)-$(VERSION).tar.gz | \
bzip2 --best -c > $(PACKAGE)-$(VERSION).tar.bz2
-.PHONY: doc benchmark mrproper rpm dist-bz2 distcheck-bz2
+.PHONY: doc benchmark mrproper deb rpm dist-bz2 distcheck-bz2
Added: hugo/trunk/debian/README.Debian
==============================================================================
--- (empty file)
+++ hugo/trunk/debian/README.Debian Wed Jun 15 00:51:22 2005
@@ -0,0 +1,6 @@
+lemon for Debian
+----------------
+
+<possible notes regarding this package - if none, delete this file>
+
+ -- LEMON Development Team <etik-ol at cs.elte.hu>, Tue, 14 Jun 2005 08:29:34 +0200
Added: hugo/trunk/debian/changelog
==============================================================================
--- (empty file)
+++ hugo/trunk/debian/changelog Wed Jun 15 00:51:22 2005
@@ -0,0 +1,6 @@
+lemon (0.4-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- LEMON Development Team <etik-ol at cs.elte.hu> Tue, 14 Jun 2005 08:29:34 +0200
+
Added: hugo/trunk/debian/compat
==============================================================================
--- (empty file)
+++ hugo/trunk/debian/compat Wed Jun 15 00:51:22 2005
@@ -0,0 +1 @@
+4
Added: hugo/trunk/debian/control
==============================================================================
--- (empty file)
+++ hugo/trunk/debian/control Wed Jun 15 00:51:22 2005
@@ -0,0 +1,15 @@
+Source: lemon
+Section: unknown
+Priority: optional
+Maintainer: LEMON Development Team <etik-ol at cs.elte.hu>
+Build-Depends: debhelper (>= 4.0.0)
+Standards-Version: 3.6.1
+
+Package: lemon
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, glpk
+Description: A C++ template library aimed at combinatorial optimization tasks.
+ LEMON stands for Library of Efficient Models and
+ Optimization in Networks. It is a C++ template
+ library aimed at combinatorial optimization tasks,
+ especially those working with graphs and networks.
Added: hugo/trunk/debian/copyright
==============================================================================
--- (empty file)
+++ hugo/trunk/debian/copyright Wed Jun 15 00:51:22 2005
@@ -0,0 +1,43 @@
+This package was debianized by LEMON Development Team <etik-ol at cs.elte.hu> on
+Tue, 14 Jun 2005 08:29:34 +0200.
+
+It was downloaded from http://lemon.cs.elte.hu
+
+Copyright:
+
+Copyright (C) 2003-2005 Egervary Jeno Kombinatorikus Optimalizalasi
+Kutatocsoport (Egervary Combinatorial Optimization Research Group,
+EGRES).
+
+Upstream Author(s):
+
+Mihaly Barasz <klao at cs.elte.hu>
+Johanna Becker <beckerjc at cs.elte.hu>
+Attila Bernath <athos at cs.elte.hu>
+Alpar Juttner <alpar at cs.elte.hu>
+Marton Makai <marci at cs.elte.hu>
+Jacint Szabo <jacint at cs.elte.hu>
+
+License:
+
+Permission is hereby granted, free of charge, to any person or organization
+obtaining a copy of the software and accompanying documentation covered by
+this license (the "Software") to use, reproduce, display, distribute,
+execute, and transmit the Software, and to prepare derivative works of the
+Software, and to permit third-parties to whom the Software is furnished to
+do so, all subject to the following:
+
+The copyright notices in the Software and this entire statement, including
+the above license grant, this restriction and the following disclaimer,
+must be included in all copies of the Software, in whole or in part, and
+all derivative works of the Software, unless such copies or derivative
+works are solely in the form of machine-executable object code generated by
+a source language processor.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
+SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
+FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
+ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+DEALINGS IN THE SOFTWARE.
Added: hugo/trunk/debian/dirs
==============================================================================
--- (empty file)
+++ hugo/trunk/debian/dirs Wed Jun 15 00:51:22 2005
@@ -0,0 +1,2 @@
+usr/bin
+usr/sbin
Added: hugo/trunk/debian/docs
==============================================================================
--- (empty file)
+++ hugo/trunk/debian/docs Wed Jun 15 00:51:22 2005
@@ -0,0 +1,5 @@
+AUTHORS
+COPYING
+LICENSE
+NEWS
+README
Added: hugo/trunk/debian/lemon.doc-base
==============================================================================
--- (empty file)
+++ hugo/trunk/debian/lemon.doc-base Wed Jun 15 00:51:22 2005
@@ -0,0 +1,9 @@
+Document: lemon-refman
+Title: LEMON Reference Manual
+Author: LEMON Development Team
+Abstract: Documentation of LEMON.
+Section: unknown
+
+Format: HTML
+Index: /usr/share/doc/lemon/html/index.html
+Files: /usr/share/doc/lemon/html/*.html
Added: hugo/trunk/debian/rules
==============================================================================
--- (empty file)
+++ hugo/trunk/debian/rules Wed Jun 15 00:51:22 2005
@@ -0,0 +1,107 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# 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
+
+config.status: configure
+ dh_testdir
+ # Add here commands to configure the package.
+ CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --with-docsuffix=lemon
+
+
+build: build-stamp
+
+build-stamp: config.status
+ dh_testdir
+
+ # Add here commands to compile the package.
+ $(MAKE)
+ #docbook-to-man debian/lemon.sgml > lemon.1
+
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+
+ # Add here commands to clean up after the build process.
+ -$(MAKE) distclean
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+ cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+ cp -f /usr/share/misc/config.guess config.guess
+endif
+
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ # Add here commands to install the package into debian/lemon.
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/lemon
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs ChangeLog
+ dh_installdocs
+ dh_installexamples
+# dh_install
+# dh_installmenu
+# dh_installdebconf
+# dh_installlogrotate
+# dh_installemacsen
+# dh_installpam
+# dh_installmime
+# dh_installinit
+# dh_installcron
+# dh_installinfo
+# dh_installman
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+# dh_perl
+# dh_python
+# 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
Added: hugo/trunk/debian/watch
==============================================================================
--- (empty file)
+++ hugo/trunk/debian/watch Wed Jun 15 00:51:22 2005
@@ -0,0 +1,2 @@
+version=2
+http://lemon.cs.elte.hu/data/lemon-(.*)\.tar\.gz debian uupdate
More information about the Lemon-commits
mailing list