aboutsummaryrefslogtreecommitdiff
path: root/audio/ttaenc/ttaenc.SlackBuild
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2015-09-14 07:19:58 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-09-16 12:23:22 +0700
commitba634ad76f5b041756801cb4a72e79a75fc77979 (patch)
treead9fe5cb35fd159ee3872007f14b97716e762638 /audio/ttaenc/ttaenc.SlackBuild
parent7e7e7d37a884e3cafdf38a5c4f1e4fcecf79cb64 (diff)
audio/ttaenc: Updated for version 3.4.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/ttaenc/ttaenc.SlackBuild')
-rw-r--r--audio/ttaenc/ttaenc.SlackBuild30
1 files changed, 8 insertions, 22 deletions
diff --git a/audio/ttaenc/ttaenc.SlackBuild b/audio/ttaenc/ttaenc.SlackBuild
index 166e66fbd273..cd7728c30c05 100644
--- a/audio/ttaenc/ttaenc.SlackBuild
+++ b/audio/ttaenc/ttaenc.SlackBuild
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ttaenc
-VERSION=${VERSION:-2.3}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-3.4.1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -56,14 +56,12 @@ fi
set -e
-SRCNAM="libtta-cpp"
-
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
rm -rf $TMP/$PRGNAM-$VERSION
cd $TMP
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-mv $SRCNAM-$VERSION $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tgz
+mv $PRGNAM-$VERSION-bin $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -72,26 +70,14 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-DOCS="COPYING README"
+install -d $PKG/usr/bin
+install -D -m755 ttaenc $PKG/usr/bin/ttaenc
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a ChangeLog-3.4.1 COPYING README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM-SlackBuild
mkdir -p $PKG/install