You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
400 B
14 lines
400 B
#!/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 |