diff options
Diffstat (limited to 'misc/heyu')
-rw-r--r-- | misc/heyu/heyu.SlackBuild | 28 | ||||
-rw-r--r-- | misc/heyu/heyu.info | 6 |
2 files changed, 14 insertions, 20 deletions
diff --git a/misc/heyu/heyu.SlackBuild b/misc/heyu/heyu.SlackBuild index aad68e4ef207..62e646bd9b3b 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 diff --git a/misc/heyu/heyu.info b/misc/heyu/heyu.info index 4db96e94a6b5..19f0c7d32ca7 100644 --- a/misc/heyu/heyu.info +++ b/misc/heyu/heyu.info @@ -1,8 +1,8 @@ PRGNAM="heyu" -VERSION="2.9.3" +VERSION="2.10" HOMEPAGE="http://www.heyu.org/" -DOWNLOAD="http://www.heyu.org/download/heyu-2.9.3.tar.gz" -MD5SUM="8f8a5f0fa8d133c715fc2b81ed7d7a66" +DOWNLOAD="http://www.heyu.org/download/heyu-2.10.tar.gz" +MD5SUM="62e18dc65a5a6f30668243367c68dde7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |