summaryrefslogtreecommitdiffstats
path: root/builddeb
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-24 17:43:19 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-24 17:43:19 +0000
commit0292059f4a16434600564cfa3f0ad2309a508a54 (patch)
treed95953cd53011917c4df679b96aedca39401b54f /builddeb
downloadlibksquirrel-0292059f4a16434600564cfa3f0ad2309a508a54.tar.gz
libksquirrel-0292059f4a16434600564cfa3f0ad2309a508a54.zip
Added libksquirrel for KDE3
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/libraries/libksquirrel@1095624 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'builddeb')
-rwxr-xr-xbuilddeb14
1 files changed, 14 insertions, 0 deletions
diff --git a/builddeb b/builddeb
new file mode 100755
index 0000000..1c56e6c
--- /dev/null
+++ b/builddeb
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+vers=`cat B/DEBIAN/control | grep Version | sed s/'Version: '//`
+
+make install DESTDIR=`pwd`/B &&
+rm -f B/usr/lib/ksquirrel-libs/*.la &&
+rm -f B/usr/lib/*.la &&
+rm -f B/usr/lib/ksquirrel-libs/*.so &&
+rm -f B/usr/lib/ksquirrel-libs/*.so.0 &&
+strip B/usr/lib/ksquirrel-libs/* &&
+strip B/usr/lib/*
+strip B/usr/bin/*
+dpkg-deb -b B ksquirrel-libs_${vers}_i386.deb &&
+rm -rf B/usr \ No newline at end of file