diff --git a/contrib/cutycapt/README b/contrib/cutycapt/README new file mode 100644 index 000000000..f58791f77 --- /dev/null +++ b/contrib/cutycapt/README @@ -0,0 +1,24 @@ +CutyCapt Debian packaging +========================= + +This directory includes control files for building CutyCapt packages for +Debian-based systems (including Ubuntu) so it can be cleanly installed. + +Usage +===== + +1. Get the CutyCapt sources, from http://cutycapt.sourceforge.net + +2. Copy the included "debian" subdirectory over the CutyCapt source tree. + +3. If needed, install the build-time dependencies:: + + apt-get install libqt4-dev + +4. Create the package using the usual incantation:: + + debian/rules binary + +5. Now you may install the created ``.deb`` package:: + + dpkg -i ../cutycapt_*.deb diff --git a/contrib/cutycapt/debian/changelog b/contrib/cutycapt/debian/changelog new file mode 100644 index 000000000..ea802499f --- /dev/null +++ b/contrib/cutycapt/debian/changelog @@ -0,0 +1,5 @@ +cutycapt (20100108) lenny squeeze intrepid karmic; urgency=low + + * Initial packaged release. + + -- Adrian Perez Fri, 08 Jan 2009 12:25:00 +0200 diff --git a/contrib/cutycapt/debian/compat b/contrib/cutycapt/debian/compat new file mode 100644 index 000000000..7f8f011eb --- /dev/null +++ b/contrib/cutycapt/debian/compat @@ -0,0 +1 @@ +7 diff --git a/contrib/cutycapt/debian/control b/contrib/cutycapt/debian/control new file mode 100644 index 000000000..127d90d1b --- /dev/null +++ b/contrib/cutycapt/debian/control @@ -0,0 +1,14 @@ +Source: cutycapt +Section: web +Priority: extra +Maintainer: Adrian Perez +Build-Depends: debhelper (>= 7), libqt4-dev + +Package: cutycapt +Architecture: any +Depends: libqt4-webkit +Description: Captures web pages to files in different formats. + CutyCapt is a small cross-platform command-line utility to capture + WebKit's rendering of a web page into a variety of vector and bitmap + formats, including SVG, PDF, PS, PNG, JPEG, TIFF, GIF, and BMP. See + IECapt for a similar tool based on Internet Explorer. diff --git a/contrib/cutycapt/debian/rules b/contrib/cutycapt/debian/rules new file mode 100755 index 000000000..ce7aba984 --- /dev/null +++ b/contrib/cutycapt/debian/rules @@ -0,0 +1,60 @@ +#! /usr/bin/make -f + +configure: configure-stamp +configure-stamp: + dh_testdir + qmake CutyCapt.pro + touch $@ + +binary-indep: install + dh_testdir + dh_testroot + dh_installchangelogs +# dh_installchangelogs +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo +# dh_installwm +# dh_installudev +# dh_lintian +# dh_undocumented + dh_installman + dh_link + dh_compress + dh_fixperms +# dh_perl +# dh_python + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-arch: install + +install: build + dh_testdir + dh_testroot + $(RM) build-stamp + install -g root -o root -m 755 -d $(CURDIR)/debian/cutycapt/usr/bin + install -g root -o root -m 755 CutyCapt $(CURDIR)/debian/cutycapt/usr/bin + +binary: binary-arch binary-indep + +build: build-stamp + +build-stamp: + qmake CutyCapt.pro + $(MAKE) + touch $@ + +clean: + dh $@ + +.PHONY: build binary clean binary-arch install binary-indep configure