From ee351365a7f49529dcb84d7914382212a3efdbdf Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 28 Nov 2011 15:25:23 -0600 Subject: Fix abakus build on Debian and Ubuntu (cherry picked from commit 971b00b04e026f6115aa1155b483a12f1768e2be) --- ubuntu/maverick/applications/abakus/debian/rules | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'ubuntu/maverick') diff --git a/ubuntu/maverick/applications/abakus/debian/rules b/ubuntu/maverick/applications/abakus/debian/rules index 8041bcf1e..10ec1e1b3 100755 --- a/ubuntu/maverick/applications/abakus/debian/rules +++ b/ubuntu/maverick/applications/abakus/debian/rules @@ -23,4 +23,17 @@ DEB_CMAKE_EXTRA_FLAGS := -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" - # Honour "parallel=N" option of DEB_BUILD_OPTIONS. Comment out to # never build in parallel, regardless of DEB_BUILD_OPTIONS. -DEB_BUILD_PARALLEL = true \ No newline at end of file +DEB_BUILD_PARALLEL = true + +debian/abakus.xpm: icons/hi64-app-abakus.png + convert -resize 32 $< $@ + +common-build-arch:: debian/abakus.xpm + +common-install-arch:: + install -D -m 644 debian/abakus.xpm debian/abakus-trinity/opt/trinity/share/pixmaps/abakus.xpm + chrpath -d debian/abakus-trinity/opt/trinity/bin/abakus + dh_icons -pabakus + +clean:: + rm -f debian/abakus.xpm -- cgit v1.2.1