summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorGravatar aeb 2000-09-10 02:10:08 +0000
committerGravatar aeb 2000-09-10 02:10:08 +0000
commitbbfc1944cd33de7056dc9617f9d9a977978032fa (patch)
treefb42afa1ac58d605452640a4e5d43afba24c7edf /debian
parentAdded missing prototypes for iso send functions. (diff)
Added control files for Debian packages.
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@37 53a565d1-3bb7-0310-b661-cf11e63c67ab
Diffstat (limited to 'debian')
-rw-r--r--debian/Makefile.am2
-rw-r--r--debian/README7
-rw-r--r--debian/changelog6
-rw-r--r--debian/control31
-rw-r--r--debian/copyright6
-rw-r--r--debian/rules62
6 files changed, 106 insertions, 8 deletions
diff --git a/debian/Makefile.am b/debian/Makefile.am
index 137a4eb..330f2f0 100644
--- a/debian/Makefile.am
+++ b/debian/Makefile.am
@@ -1,3 +1,3 @@
# process this file with automake to create a Makefile.in
-EXTRA_DIST = README
+EXTRA_DIST = control rules changelog copyright
diff --git a/debian/README b/debian/README
deleted file mode 100644
index e892c89..0000000
--- a/debian/README
+++ /dev/null
@@ -1,7 +0,0 @@
-
- There's nothing here so far, as you probably noticed. I intend to
-package libraw1394 for Debian as soon as it gets stable and I become a Debian
-maintainer for this package. Or as soon as I grok Debian's package management
-system, for that matter...
-
-Andreas Bombe
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..d5d7b82
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+libraw1394 (0.7) unstable; urgency=low
+
+ * First unofficial Debian release.
+
+ -- Andreas Bombe <andreas.bombe@munich.netsurf.de> Sun, 10 Sep 2000 03:28:50 +0200
+
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..7e4f6a2
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,31 @@
+Source: libraw1394
+Section: libs
+Priority: optional
+Maintainer: Andreas E. Bombe <andreas.bombe@munich.netsurf.de>
+Standards-Version: 3.1.1.1
+Build-Depends: debhelper
+
+Package: libraw1394-dev
+Architecture: any
+Section: devel
+Depends: libraw1394-4, libc6-dev
+Description: library for direct access to IEEE 1394 bus - development files
+ libraw1394 is the only supported interface to the kernel side raw1394
+ of the Linux IEEE-1394 subsystem, which provides direct access to the
+ connected 1394 buses to user space. Through libraw1394/raw1394,
+ applications can directly send to and receive from other nodes without
+ requiring a kernel driver for the protocol in question.
+ .
+ This package contains the include files and static library for
+ libraw1394.
+
+Package: libraw1394-4
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}
+Description: library for direct access to IEEE 1394 bus (aka FireWire)
+ libraw1394 is the only supported interface to the kernel side raw1394
+ of the Linux IEEE-1394 subsystem, which provides direct access to the
+ connected 1394 buses to user space. Through libraw1394/raw1394,
+ applications can directly send to and receive from other nodes without
+ requiring a kernel driver for the protocol in question.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..ea2cf67
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,6 @@
+libraw1394 is packaged by the programmer and has no separate Debian changes.
+
+Copyright:
+
+libraw1394 is licensed under the LGPL, version 2.1 or later, a copy of which can
+be found on your Debian system under /usr/share/common-licenses/LGPL.
diff --git a/debian/rules b/debian/rules
new file mode 100644
index 0000000..a07eea6
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,62 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE=1
+export DH_COMPAT=1
+
+
+majorname = $(shell grep library_names src/libraw1394.la | cut -d"'" -f 2 | cut -d" " -f 2)
+fullversionname = $(shell grep library_names src/libraw1394.la | cut -d"'" -f 2 | cut -d" " -f 1)
+major = $(shell echo $(majorname) | cut -d"." -f 3)
+
+
+build: build-stamp
+build-stamp:
+ dh_testdir
+
+ ./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
+ $(MAKE)
+
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+
+ -$(MAKE) distclean
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ $(MAKE) install prefix=`pwd`/debian/tmp/usr
+
+binary-indep: build install
+# Nothing to do here
+
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+
+ dh_movefiles -plibraw1394-$(major) \
+ usr/lib/$(majorname) \
+ usr/lib/$(fullversionname)
+
+ dh_installdocs
+ dh_installchangelogs
+ dh_strip
+ dh_compress
+ dh_fixperms
+ 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