Permalink
Browse files

debian: rules for debian package and launchpad.net ppa trick

  • Loading branch information...
1 parent e68165b commit 69867fa7b98647945ca0bd746afd7bb175fe6632 @rhtyd committed Oct 5, 2011
Showing with 92 additions and 1 deletion.
  1. +15 −1 README
  2. +5 −0 debian/changelog
  3. +35 −0 debian/cmakeqt.debhelper.log
  4. +2 −0 debian/cmakeqt.substvars
  5. +1 −0 debian/compat
  6. +13 −0 debian/control
  7. +5 −0 debian/copyright
  8. +1 −0 debian/files
  9. +15 −0 debian/rules
View
@@ -1,7 +1,7 @@
About
=====
CMakeQt, a cmake build system template for Qt based projects.
-Copyright Rohit Yadav <rohityadav89@gmail.com>, 2009-10
+Copyright Rohit Yadav <rohityadav89@gmail.com>, 2009-11
Feel free to use and modify it according to your project.
If you like my work, show you appreciation by giving me kudos on my 'ohloh' profile.
@@ -94,3 +94,17 @@ Packaging
This will create an .exe installer in /win32/bin
+Distribution via Launchpad
+==========================
+
+Launchpad.net provides PPA facility for distribution of debian builds.
+The /debian folder holds debian package building rules.
+
+You build and upload your source pkgs by:
+ debuild -k<pgp key ID>
+ dput ppa:<ppa-id>/<pkg> <source.changes>
+
+To add/install the pkg, one can do:
+ sudo add-apt-repository ppa:<ppa-id>/<pkg>
+ sudo apt-get update
+ sudo apt-get install <pkg>
View
@@ -0,0 +1,5 @@
+cmakeqt (0.3.0~natty) natty; urgency=low
+
+ * cmakeqt 0.3.0 version
+
+ -- Rohit Yadav <rohityadav89@gmail.com> Wed, 05 Oct 2011 23:46:25 +0530
@@ -0,0 +1,35 @@
+dh_prep
+dh_installdirs
+dh_installdirs
+dh_installdocs
+dh_installexamples
+dh_installman
+dh_installinfo
+dh_installmenu
+dh_installcron
+dh_installinit
+dh_installdebconf
+dh_installemacsen
+dh_installcatalogs
+dh_installpam
+dh_installlogrotate
+dh_installlogcheck
+dh_installchangelogs
+dh_installudev
+dh_lintian
+dh_bugfiles
+dh_install
+dh_link
+dh_buildinfo
+dh_installmime
+dh_strip
+dh_compress
+dh_fixperms
+dh_makeshlibs
+dh_installdeb
+dh_perl
+dh_shlibdeps
+dh_gencontrol
+dh_link
+dh_md5sums
+dh_builddeb
@@ -0,0 +1,2 @@
+shlibs:Depends=libc6 (>= 2.2.5), libgcc1 (>= 1:4.1.1), libqt4-network (>= 4:4.5.3), libqt4-svg (>= 4:4.5.3), libqt4-xml (>= 4:4.5.3), libqtcore4 (>= 4:4.5.3), libqtgui4 (>= 4:4.5.3), libstdc++6 (>= 4.1.1)
+misc:Depends=
View
@@ -0,0 +1 @@
+8
View
@@ -0,0 +1,13 @@
+Source: cmakeqt
+Section: devel
+Priority: optional
+Maintainer: Rohit Yadav <rohityadav89@gmail.com>
+Standards-Version: 3.9.1
+Build-Depends: cdbs, debhelper (>= 7), cmake, libx11-dev, libqt4-dev, libqt4-gui ( >= 4.6 ), libqt4-network ( >= 4.6 ), libqt4-xml ( >= 4.6 ), libqt4-svg ( >= 4.6 )
+Homepage: http://rohityadav.in/projects/cmakeqt
+
+Package: cmakeqt
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, libqt4-gui, libqt4-network, libqt4-xml, libqt4-svg
+Description: CMakeQt
+ CMakeQt, a cmake build system template for Qt based projects.
View
@@ -0,0 +1,5 @@
+GNU GENERAL PUBLIC LICENSE, Version 2.
+Copyright 2009-2011 Rohit Yadav.
+
+This package was debianized by Rohit Yadav <rohityadav89@gmail.com> on
+Wed, 05 Oct 2011 23:46:25 +0530.
View
@@ -0,0 +1 @@
+cmakeqt_0.3.0~natty_amd64.deb devel optional
View
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+build:
+ mkdir -p $(CURDIR)/build
+ cd $(CURDIR)/build && \
+ cmake -DCMAKE_INSTALL_PREFIX=/usr .. && \
+ make
+
+common-install-arch::
+ cd $(CURDIR)/build && make install DESTDIR=$(CURDIR)/debian/cmakeqt
+
+clean::
+ rm -rf $(CURDIR)/build

0 comments on commit 69867fa

Please sign in to comment.