Commit c504704b authored by Sam Hocevar's avatar Sam Hocevar

* debian/*:

    + Added Debian packaging information.
parent 9fb530b6
SUBDIRS = autotools include doc libdts libao src vc++ test
SUBDIRS = autotools include doc libdts libao src vc++ test debian
EXTRA_DIST = bootstrap
......@@ -5,7 +5,7 @@ AC_CONFIG_SRCDIR([src/dtsdec.c])
AC_CONFIG_AUX_DIR(autotools)
AC_CONFIG_FILES([Makefile autotools/Makefile include/Makefile test/Makefile
doc/Makefile src/Makefile libdts/Makefile libao/Makefile vc++/Makefile
libdts/libdts.pc])
debian/Makefile libdts/libdts.pc])
AM_INIT_AUTOMAKE([dtsdec],[0.0.2-svn])
AC_CONFIG_HEADERS([include/config.h])
AM_MAINTAINER_MODE
......
EXTRA_DIST = control rules changelog copyright compat dirs
libdts (0.0.2-svn-1) unstable; urgency=low
* Initial release.
-- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Tue, 24 Feb 2004 16:55:05 +0100
Source: libdts
Section: libs
Priority: optional
Maintainer: Sam Hocevar (Debian packages) <sam+deb@zoy.org>
Build-Depends: debhelper (>= 4.0)
Standards-Version: 3.6.1.0
Package: libdts-dev
Section: libdevel
Architecture: any
Depends: ${shlibs:Depends}
Description: development files for libdts
libdts provides a low-level interface to decode audio frames encoded using
DTS Coherent Acoustics. DTS Coherent Acoustics streams are commonly found
on DVDs, DTS audio CDs and some radio broadcastings. libdts also provides
downmixing and dynamic range compression for various output configurations.
.
This package contains the headers and static libraries used to build
applications that use libdts.
This package was downloaded from svn://svn.videolan.org/libdts/.
Upstream Author: Gildas Bazin <gbazin@videolan.org>
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2, or (at your option) any
later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this library; if not, write to the Free Software
Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
On Debian GNU/Linux systems, the complete text of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL'.
usr/lib
usr/include/dtsdec
#!/usr/bin/make -f
#export DH_VERBOSE=1
export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
# FOR AUTOCONF 2.52 AND NEWER ONLY
ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
confflags += --build $(DEB_HOST_GNU_TYPE)
else
confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
endif
confflags += --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
configure: configure-stamp
configure-stamp:
dh_testdir
./configure $(confflags) --prefix=/usr
touch configure-stamp
build: configure-stamp build-stamp
build-stamp:
dh_testdir
cd libdts && $(MAKE) CFLAGS=-fPIC CFLAGS+=-DPIC && mv .libs/libdts.a libdts_pic.a && $(MAKE) clean
$(MAKE)
touch build-stamp
clean:
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
-$(MAKE) distclean
rm -f libdts/libdts_pic.a
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs -plibdts-dev
#$(MAKE) install DESTDIR=`pwd`/debian/libdts-dev/
cp libdts/.libs/libdts.a libdts/libdts_pic.a `pwd`/debian/libdts-dev/usr/lib
cp include/dts.h `pwd`/debian/libdts-dev/usr/include/dtsdec/
binary-indep: build install
binary-arch: build install
dh_testdir
dh_testroot
dh_installdocs
dh_installmenu
dh_installcron
dh_installinfo
dh_installmime
dh_installchangelogs ChangeLog
dh_link
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 configure
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment