[svn r854] Added debian folder for gmencoder deb package generation trunk
authormelunko
Tue Sep 18 13:53:38 2007 +0100 (2007-09-18)
branchtrunk
changeset 84837e112f474db
parent 847 3c18c36245e7
child 849 ce58aae12c2e
[svn r854] Added debian folder for gmencoder deb package generation
gmyth-stream/gmencoder/debian/README.Debian
gmyth-stream/gmencoder/debian/changelog
gmyth-stream/gmencoder/debian/compat
gmyth-stream/gmencoder/debian/control
gmyth-stream/gmencoder/debian/copyright
gmyth-stream/gmencoder/debian/docs
gmyth-stream/gmencoder/debian/rules
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gmyth-stream/gmencoder/debian/README.Debian	Tue Sep 18 13:53:38 2007 +0100
     1.3 @@ -0,0 +1,6 @@
     1.4 +gmencoder for Debian
     1.5 +--------------------
     1.6 +
     1.7 +<possible notes regarding this package - if none, delete this file>
     1.8 +
     1.9 + -- Hallyson Melo <hallyson.melo@indt.org.br>  Mon, 17 Sep 2007 16:44:13 -0300
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/gmyth-stream/gmencoder/debian/changelog	Tue Sep 18 13:53:38 2007 +0100
     2.3 @@ -0,0 +1,6 @@
     2.4 +gmencoder (0.1) unstable; urgency=low
     2.5 +
     2.6 +  * Initial release
     2.7 +
     2.8 + -- Hallyson Melo <hallyson.melo@indt.org.br>  Mon, 17 Sep 2007 16:44:13 -0300
     2.9 +
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/gmyth-stream/gmencoder/debian/compat	Tue Sep 18 13:53:38 2007 +0100
     3.3 @@ -0,0 +1,1 @@
     3.4 +5
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/gmyth-stream/gmencoder/debian/control	Tue Sep 18 13:53:38 2007 +0100
     4.3 @@ -0,0 +1,12 @@
     4.4 +Source: gmencoder
     4.5 +Section: user/multimedia
     4.6 +Priority: extra
     4.7 +Maintainer: Hallyson Melo <hallyson.melo@indt.org.br>
     4.8 +Build-Depends: debhelper (>= 5), autotools-dev, libgstreamer-plugins-base0.10-dev, libglib2.0-dev, libgnomevfs2-dev
     4.9 +Standards-Version: 3.7.2
    4.10 +
    4.11 +Package: gmencoder
    4.12 +Section: user/multimedia
    4.13 +Architecture: any
    4.14 +Depends: ${shlibs:Depends}, ${misc:Depends}, libgstreamer-plugins-base0.10, libglib2.0-0, libgnomevfs2-0
    4.15 +Description: GMencoder is an application similar to mencoder, but it uses gstreamer as its backend engine.
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/gmyth-stream/gmencoder/debian/copyright	Tue Sep 18 13:53:38 2007 +0100
     5.3 @@ -0,0 +1,22 @@
     5.4 +This package was debianized by Hallyson Melo <hallyson.melo@indt.org.br> on
     5.5 +Mon, 17 Sep 2007 16:44:13 -0300.
     5.6 +
     5.7 +It was downloaded from <fill in http/ftp site>
     5.8 +
     5.9 +Upstream Author: <put author(s) name and email here>
    5.10 +
    5.11 +Copyright: <put the year(s) of the copyright, and the names of the
    5.12 +            copyright holder(s) here>
    5.13 +
    5.14 +License:
    5.15 +
    5.16 +<Put the license of the package here>
    5.17 +
    5.18 +
    5.19 +The Debian packaging is (C) 2007, Hallyson Melo <hallyson.melo@indt.org.br> and
    5.20 +is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
    5.21 +
    5.22 +
    5.23 +# Please also look if there are files or directories which have a
    5.24 +# different copyright/license attached and list them here.
    5.25 +
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/gmyth-stream/gmencoder/debian/docs	Tue Sep 18 13:53:38 2007 +0100
     6.3 @@ -0,0 +1,2 @@
     6.4 +NEWS
     6.5 +README
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/gmyth-stream/gmencoder/debian/rules	Tue Sep 18 13:53:38 2007 +0100
     7.3 @@ -0,0 +1,107 @@
     7.4 +#!/usr/bin/make -f
     7.5 +# -*- makefile -*-
     7.6 +# Sample debian/rules that uses debhelper.
     7.7 +# This file was originally written by Joey Hess and Craig Small.
     7.8 +# As a special exception, when this file is copied by dh-make into a
     7.9 +# dh-make output file, you may use that output file without restriction.
    7.10 +# This special exception was added by Craig Small in version 0.37 of dh-make.
    7.11 +
    7.12 +# Uncomment this to turn on verbose mode.
    7.13 +#export DH_VERBOSE=1
    7.14 +
    7.15 +
    7.16 +# These are used for cross-compiling and for saving the configure script
    7.17 +# from having to guess our platform (since we know it already)
    7.18 +DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
    7.19 +DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
    7.20 +
    7.21 +
    7.22 +CFLAGS = -Wall -g
    7.23 +
    7.24 +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
    7.25 +	CFLAGS += -O0
    7.26 +else
    7.27 +	CFLAGS += -O2
    7.28 +endif
    7.29 +
    7.30 +config.status: configure
    7.31 +	dh_testdir
    7.32 +	# Add here commands to configure the package.
    7.33 +	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
    7.34 +
    7.35 +
    7.36 +build: build-stamp
    7.37 +
    7.38 +build-stamp:  config.status
    7.39 +	dh_testdir
    7.40 +
    7.41 +	# Add here commands to compile the package.
    7.42 +	$(MAKE)
    7.43 +	#docbook-to-man debian/gmencoder.sgml > gmencoder.1
    7.44 +
    7.45 +	touch $@
    7.46 +
    7.47 +clean:
    7.48 +	dh_testdir
    7.49 +	dh_testroot
    7.50 +	rm -f build-stamp 
    7.51 +
    7.52 +	# Add here commands to clean up after the build process.
    7.53 +	-$(MAKE) distclean
    7.54 +ifneq "$(wildcard /usr/share/misc/config.sub)" ""
    7.55 +	cp -f /usr/share/misc/config.sub config.sub
    7.56 +endif
    7.57 +ifneq "$(wildcard /usr/share/misc/config.guess)" ""
    7.58 +	cp -f /usr/share/misc/config.guess config.guess
    7.59 +endif
    7.60 +
    7.61 +
    7.62 +	dh_clean 
    7.63 +
    7.64 +install: build
    7.65 +	dh_testdir
    7.66 +	dh_testroot
    7.67 +	dh_clean -k 
    7.68 +	dh_installdirs
    7.69 +
    7.70 +	# Add here commands to install the package into debian/gmencoder.
    7.71 +	$(MAKE) DESTDIR=$(CURDIR)/debian/gmencoder install
    7.72 +
    7.73 +
    7.74 +# Build architecture-independent files here.
    7.75 +binary-indep: build install
    7.76 +# We have nothing to do by default.
    7.77 +
    7.78 +# Build architecture-dependent files here.
    7.79 +binary-arch: build install
    7.80 +	dh_testdir
    7.81 +	dh_testroot
    7.82 +	dh_installchangelogs ChangeLog
    7.83 +	dh_installdocs
    7.84 +	dh_installexamples
    7.85 +	dh_install
    7.86 +#	dh_installmenu
    7.87 +#	dh_installdebconf	
    7.88 +#	dh_installlogrotate
    7.89 +#	dh_installemacsen
    7.90 +#	dh_installpam
    7.91 +#	dh_installmime
    7.92 +#	dh_python
    7.93 +#	dh_installinit
    7.94 +#	dh_installcron
    7.95 +#	dh_installinfo
    7.96 +	dh_installman
    7.97 +	dh_link
    7.98 +	dh_strip
    7.99 +	dh_compress
   7.100 +	dh_fixperms
   7.101 +#	dh_perl
   7.102 +#	dh_makeshlibs
   7.103 +	dh_installdeb
   7.104 +	dh_shlibdeps
   7.105 +	dh_gencontrol
   7.106 +	dh_md5sums
   7.107 +	dh_builddeb
   7.108 +
   7.109 +binary: binary-indep binary-arch
   7.110 +.PHONY: build clean binary-indep binary-arch binary install