summaryrefslogtreecommitdiff
path: root/libraries/exempi/exempi.SlackBuild
diff options
context:
space:
mode:
authorMichiel van Wessem <michiel@slackbuilds.org>2014-08-14 11:36:36 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-15 23:21:25 +0700
commit09d336c9e1788863517ebb30c6f75b060bd01709 (patch)
tree8c08cb3d15bbe67f75c9a80a76f84ab56ee17d35 /libraries/exempi/exempi.SlackBuild
parent7166d251587143568d193cf480a2bacfaf140098 (diff)
downloadslackbuilds-09d336c9e1788863517ebb30c6f75b060bd01709.tar.gz
libraries/exempi: Updated for version 2.2.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/exempi/exempi.SlackBuild')
-rw-r--r--libraries/exempi/exempi.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/libraries/exempi/exempi.SlackBuild b/libraries/exempi/exempi.SlackBuild
index 1169bf7622..5e28ba2c5a 100644
--- a/libraries/exempi/exempi.SlackBuild
+++ b/libraries/exempi/exempi.SlackBuild
@@ -24,7 +24,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=exempi
-VERSION=${VERSION:-2.2.0}
+VERSION=${VERSION:-2.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -79,6 +79,7 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --enable-static=no \
--build=$ARCH-slackware-linux
make
@@ -87,6 +88,9 @@ make install-strip DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README \
$PKG/usr/doc/$PRGNAM-$VERSION