Date: Friday, November 24, 2006 @ 19:19:23
Author: csaba
Path: /cvsroot/carob/libmysequoia/debian
Modified: changelog (1.17 -> 1.18) rules (1.8 -> 1.9)
Build 4.1 and 5.0 libraries for Debian.
-----------+
changelog | 2 -
rules | 68 ++++++++++++++++++++++++++++++++++++++----------------------
2 files changed, 45 insertions(+), 25 deletions(-)
Index: libmysequoia/debian/changelog
diff -u libmysequoia/debian/changelog:1.17 libmysequoia/debian/changelog:1.18
--- libmysequoia/debian/changelog:1.17 Fri Nov 24 14:43:13 2006
+++ libmysequoia/debian/changelog Fri Nov 24 19:19:23 2006
@@ -26,7 +26,7 @@
* New upstream release.
- -- Csaba Simon <[EMAIL PROTECTED]> Mon, 31 Jun 2006 15:00:00 +0200
+ -- Csaba Simon <[EMAIL PROTECTED]> Mon, 31 Jul 2006 15:00:00 +0200
libmysequoia (0.9.0-1) unstable; urgency=low
Index: libmysequoia/debian/rules
diff -u libmysequoia/debian/rules:1.8 libmysequoia/debian/rules:1.9
--- libmysequoia/debian/rules:1.8 Wed Nov 22 11:55:11 2006
+++ libmysequoia/debian/rules Fri Nov 24 19:19:23 2006
@@ -14,12 +14,12 @@
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
+CXXFLAGS = -Wall -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0
+ CXXFLAGS += -O0
else
- CFLAGS += -O2
+ CXXFLAGS += -O2
endif
# shared library versions, option 1
@@ -34,25 +34,53 @@
config.status: config-stamp
config-stamp:
dh_testdir
- # Add here commands to configure the package.
- CXXFLAGS="$(CXXFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE)
--build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --libdir=/usr/lib
--sysconfdir=/etc/mysequoia --mandir=/usr/share/man --infodir=/usr/share/info
--disable-cppunit --disable-gcov
+
+ mkdir -p build41 build50
+
+ # configure with MySQL 4.1 headers
+ cd build41 && \
+ CXXFLAGS="$(CXXFLAGS)" ../configure --host=$(DEB_HOST_GNU_TYPE)
--build=$(DEB_BUILD_GNU_TYPE) \
+ --prefix=/usr \
+ --libdir=/usr/lib \
+ --sysconfdir=/etc/mysequoia \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --disable-cppunit \
+ --disable-gcov \
+ --with-mysql-headers=/usr/local/mysql/41
+
+ # configure with MySQL 5.0 headers
+ cd build50 && \
+ CXXFLAGS="$(CXXFLAGS)" ../configure --host=$(DEB_HOST_GNU_TYPE)
--build=$(DEB_BUILD_GNU_TYPE) \
+ --prefix=/usr \
+ --libdir=/usr/lib \
+ --sysconfdir=/etc/mysequoia \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --disable-cppunit \
+ --disable-gcov \
+ --with-mysql-headers=/usr/local/mysql/50
+
touch config-stamp
build: build-stamp
build-stamp: config.status
dh_testdir
- # Add here commands to compile the package.
- $(MAKE)
+ # build with MySQL 4.1 headers
+ cd build41 && $(MAKE)
+
+ # build with MySQL 5.0 headers
+ cd build50 && $(MAKE)
touch build-stamp
clean:
dh_testdir
dh_testroot
- rm -f build-stamp config-stamp
- # Add here commands to clean up after the build process.
+ rm -rf build-stamp config-stamp build41 build50
+
-$(MAKE) distclean
ifneq "$(wildcard /usr/share/misc/config.sub)" ""
cp -f /usr/share/misc/config.sub config.sub
@@ -61,7 +89,6 @@
cp -f /usr/share/misc/config.guess config.guess
endif
-
dh_clean
install: build
@@ -70,8 +97,13 @@
dh_clean -k
dh_installdirs
- # Add here commands to install the package into debian/tmp
- $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+ # install the 4.1 build
+ cd build41 && $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+
+ # install the 5.0 build
+ cd build50 && $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+
+ # install the documentation
install -d -m 755 $(CURDIR)/debian/tmp/usr/share/doc/libmysequoia
install -m 644 NEWS README COPYING
$(CURDIR)/debian/tmp/usr/share/doc/libmysequoia
@@ -87,23 +119,11 @@
dh_installdocs
dh_installexamples
dh_install --sourcedir=debian/tmp
-# 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
_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits