From 9b2075d9b89fc628c447fbb98f43ef72e4a9c81d Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 10 Jul 2011 16:17:43 -0500 Subject: Initial import from old SVN repository Note that only the Debian and Ubuntu folders were preserved --- .../applications/wlassistant/debian/rules | 67 ++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100755 ubuntu/maverick_automake/applications/wlassistant/debian/rules (limited to 'ubuntu/maverick_automake/applications/wlassistant/debian/rules') diff --git a/ubuntu/maverick_automake/applications/wlassistant/debian/rules b/ubuntu/maverick_automake/applications/wlassistant/debian/rules new file mode 100755 index 000000000..8c38dc51c --- /dev/null +++ b/ubuntu/maverick_automake/applications/wlassistant/debian/rules @@ -0,0 +1,67 @@ +#!/usr/bin/make -f + +FILENAME = $(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz +UPFILENAME = $(DEB_SOURCE_PACKAGE)-$(shell echo $(DEB_UPSTREAM_VERSION) | sed 's/~/-/').tar.bz2 +URL = http://heanet.dl.sourceforge.net/$(DEB_SOURCE_PACKAGE)/$(UPFILENAME) + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +DEB_CONFIGURE_INCLUDEDIR := /opt/kde3/include/kde +DEB_CONFIGURE_MANDIR := /opt/kde3/share/man +DEB_CONFIGURE_PREFIX := /opt/kde3 +DEB_CONFIGURE_INFODIR := /opt/kde3/share/info + +cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug) + +PATH := /opt/kde3/bin:${PATH} + +DEB_SCONS_PREFIX=/opt/kde3 + +DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/kde3 --with-extra-libs=/opt/kde3/lib --with-extra-includes=/opt/kde3/include/kde + +CONFIG_STATUS=$(DEB_BUILDDIR)/config.status +SCONS_CMD=scons + +common-configure-arch common-configure-indep:: common-configure-impl +common-configure-impl:: $(CONFIG_STATUS) +$(CONFIG_STATUS): + $(SCONS_CMD) configure prefix=$(DEB_SCONS_PREFIX) + touch $(CONFIG_STATUS) + +common-build-arch common-build-indep:: common-build-impl +common-build-impl:: + $(SCONS_CMD) + +common-install-arch common-install-indep:: common-install-impl +common-install-impl:: + DESTDIR=$(DEB_DESTDIR) $(SCONS_CMD) install + +install/wlassistant-kde3:: + mv $(CURDIR)/debian/wlassistant-kde3/opt/kde3/share/applnk/Utilities/wlassistant.desktop \ + $(CURDIR)/debian/wlassistant-kde3/opt/kde3/share/applications/kde/ + rmdir $(CURDIR)/debian/wlassistant-kde3/opt/kde3/share/applnk/Utilities + rmdir $(CURDIR)/debian/wlassistant-kde3/opt/kde3/share/applnk + +clean:: + $(SCONS_CMD) -c + rm -f $(CONFIG_STATUS) + rm -rf cache + rm -rf .sconf_temp + rm -rf admin + rm -rf build/ + rm -f bksys/*.pyc + rm -f generic.cache.py kde.cache.py configure.log + rm -f scons/*.pyc scons/signatures.dblite + +cleanbuilddir common-configure-arch:: + +DEB_INSTALL_MANPAGES_wlassistant-kde3 = debian/wlassistant-kde3.manpage + +get-orig-source: + @@dh_testdir + @@[ -d ../tarballs/. ] + @@echo Downloading $(UPFILENAME) from $(URL) ... + @@wget -N -nv -T10 -t3 -O ../tarballs/$(UPFILENAME) $(URL) + @@echo Converting $(UPFILENAME) to $(FILENAME) + @@bzcat ../tarballs/$(UPFILENAME) | gzip -9 > ../tarballs/$(FILENAME) -- cgit v1.2.3