diff options
author | B. Watson <yalhcru@gmail.com> | 2013-01-01 00:31:46 -0500 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2013-01-01 00:31:46 -0500 |
commit | 48204b8b3f7b53dfe5286a683795fc40f6cd1d4c (patch) | |
tree | 80ee8868c3ecd8d3466d37920adfde88ed3a7a32 /misc/heyu/heyu.SlackBuild | |
parent | 8eb6b2ccfe707bc55aae65cb77346510f6f8ad22 (diff) | |
download | slackbuilds-48204b8b3f7b53dfe5286a683795fc40f6cd1d4c.tar.gz |
misc/heyu: Updated for version 2.10.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'misc/heyu/heyu.SlackBuild')
-rw-r--r-- | misc/heyu/heyu.SlackBuild | 28 |
1 files changed, 11 insertions, 17 deletions
diff --git a/misc/heyu/heyu.SlackBuild b/misc/heyu/heyu.SlackBuild index aad68e4ef2..62e646bd9b 100644 --- a/misc/heyu/heyu.SlackBuild +++ b/misc/heyu/heyu.SlackBuild @@ -1,20 +1,20 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for heyu # Written by B. Watson (yalhcru@gmail.com) +# Licensed under the WTFPL. See http://sam.zoy.org/wtfpl/ for details. + PRGNAM=heyu -VERSION=${VERSION:-2.9.3} +VERSION=${VERSION:-2.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -53,23 +53,17 @@ find . \ # include a bunch of program-specific defines, so: sed -i 's/-g -O/'"$SLKCFLAGS"/ Makefile -make -strip --strip-unneeded $PRGNAM +# Don't do interactive "where do I install the config file?" step +sed -i '/\.\/install\.sh *$/d' Makefile -# Makefile is non-standard, just install "manually". -# It's just one binary and some man pages. -mkdir -p $PKG/usr/bin -cp $PRGNAM $PKG/usr/bin +make +strip $PRGNAM +make install BIN=$PKG/usr/bin MAN=$PKG/usr/man/man1 MAN5=$PKG/usr/man/man5 -mkdir -p $PKG/usr/man/man1 -for sec in 1 5; do - for page in *.$sec; do - gzip -9c < $page > $PKG/usr/man/man1/$page.gz - done -done +gzip -9 $PKG/usr/man/man?/*.? mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp README* *.txt LICENSE $PKG/usr/doc/$PRGNAM-$VERSION +cp README* *.txt COPYING $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/etc/$PRGNAM |