Hi,
Rene Engelhard wrote:
> The diff attached here fixes at least the debian/ stuff and cleans some
> stuff out... Markus, if you really want to maintain libmspack you probably have to RTFMs more.
err, I of course forgot to attach it. I wrote a debian/copyright with
me in it as tghe initial paackager (this was done by dh_make...)
The CFLAGS stuff is still not fixed FWIW..
Grüße/Regards,
René
--
.''`. René Engelhard -- Debian GNU/Linux Developer
: :' : http://www.debian.org | http://people.debian.org/~rene/
`. `' rene@debian.org | GnuPG-Key ID: 248AEB73
`- Fingerprint: 41FA F208 28D4 7CA5 19BB 7AD9 F859 90B0 248A EB73
Index: control
===================================================================
RCS file: /cvsroot/libmspack/libmspack/debian/control,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 control
--- control 11 Sep 2003 14:06:58 -0000 1.1.1.1
+++ control 24 Jan 2004 15:30:23 -0000
@@ -1,14 +1,14 @@
Source: libmspack
Section: libs
Priority: optional
Maintainer: Markus Sinner <sinner@herdsoft.com>
-Build-Depends: debhelper (>> 3.0.0)
-Standards-Version: 3.5.2
+Build-Depends: debhelper (>> 4.0.0)
+Standards-Version: 3.6.1
-Package: libmspack
+Package: libmspack-dev
Architecture: any
Depends: ${shlibs:Depends}
-Description: Library that implements different Microsoft-Compressions
+Description: Library for different Microsoft-Compressions (development files)
The purpose of libmspack is to provide both compression and decompression
of some loosely related file formats used by Microsoft. Currently the most
- common formats are implemented.
\ No newline at end of file
+ common formats are implemented.
Index: rules
===================================================================
RCS file: /cvsroot/libmspack/libmspack/debian/rules,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 rules
--- rules 11 Sep 2003 14:06:58 -0000 1.1.1.1
+++ rules 24 Jan 2004 15:30:23 -0000
@@ -1,40 +1,37 @@
#!/usr/bin/make -f
-# 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
-# This is the debhelper compatibility version to use.
-export DH_COMPAT=3
+export DH_COMPAT=4
-# 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)
-
ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
CFLAGS += -g
endif
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
INSTALL_PROGRAM += -s
endif
config.status: configure
dh_testdir
- # Add here commands to configure the package.
- ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
-
+ ./configure CFLAGS=$(CFLAGS) --host=$(DEB_HOST_GNU_TYPE) \
+ --build=$(DEB_BUILD_GNU_TYPE) \
+ --prefix=/usr \
+ --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
build: build-stamp
build-stamp: config.status
dh_testdir
- # Add here commands to compile the package.
$(MAKE)
- #/usr/bin/docbook-to-man debian/libmspack.sgml > libmspack.1
touch build-stamp
@@ -43,14 +40,13 @@
dh_testroot
rm -f build-stamp
- # Add here commands to clean up after the build process.
-$(MAKE) distclean
-test -r /usr/share/misc/config.sub && \
cp -f /usr/share/misc/config.sub config.sub
-test -r /usr/share/misc/config.guess && \
cp -f /usr/share/misc/config.guess config.guess
-
-
+ rm -f config.log
+
dh_clean
install: build
@@ -59,39 +55,24 @@
dh_clean -k
dh_installdirs
- # Add here commands to install the package into debian/libmspack.
- $(MAKE) install prefix=$(CURDIR)/debian/libmspack/usr
-
+ dh_install
+ chmod 644 $(CURDIR)/debian/libmspack-dev/usr/include/mspack/*
+ chmod 755 $(CURDIR)/debian/libmspack-dev/usr/include/mspack
-# 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_installdebconf
- dh_installdocs
+ dh_installdocs README AUTHORS NEWS TODO
dh_installexamples
dh_installmenu
-# dh_installlogrotate
-# dh_installemacsen
-# dh_installpam
-# dh_installmime
-# dh_installinit
- dh_installcron
- dh_installman
- dh_installinfo
-# dh_undocumented
dh_installchangelogs ChangeLog
dh_link
dh_strip
dh_compress
dh_fixperms
-# dh_makeshlibs
dh_installdeb
-# dh_perl
dh_shlibdeps
dh_gencontrol
dh_md5sums
--- /dev/null 2003-12-04 23:59:45.000000000 +0100
+++ libmspack-dev.install 2004-01-24 00:18:55.000000000 +0100
@@ -0,0 +1,3 @@
+mspack/*.h usr/include/mspack
+.libs/*.a usr/lib
+.libs/.*.la /usr/lib
--- /dev/null 2003-12-04 23:59:45.000000000 +0100
+++ copyright 2004-01-24 00:26:09.000000000 +0100
@@ -0,0 +1,11 @@
+This package was debianized by Rene Engelhard <rene@debian.org> on
+Fri, 23 Jan 2004 23:50:20 +0100.
+
+It was downloaded from http://www.kyz.uklinux.net/libmspack/
+
+Upstream Author: Stuart Caie <kyzer@4u.net>
+
+Copyright:
+
+LGPL v2, on Debian systems you can find the full text of the LGPL v2
+under /usr/share/common-liceneses/LGPL-2
Attachment:
signature.asc
Description: Digital signature