|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
#!/bin/bash
|
|
|
|
|
# Build script for Slackware
|
|
|
|
|
# Copyright (C) 2009,2010 Damien Goutte-Gattat
|
|
|
|
|
# Copyright (C) 2009,2010,2012 Damien Goutte-Gattat
|
|
|
|
|
#
|
|
|
|
|
# Redistribution and use of this script, with or without modifications,
|
|
|
|
|
# is permitted provided that the following conditions are met:
|
|
|
|
@ -27,7 +27,7 @@
|
|
|
|
|
|
|
|
|
|
# Source package infos
|
|
|
|
|
NAMESRC=${NAMESRC:-lame}
|
|
|
|
|
VERSION=${VERSION:-3.98.4}
|
|
|
|
|
VERSION=${VERSION:-3.99}
|
|
|
|
|
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
|
|
|
|
|
WGET=${WGET:-http://downloads.sourceforge.net/lame/$ARCHIVE}
|
|
|
|
|
|
|
|
|
@ -93,7 +93,7 @@ CXXFLAGS=$CPUOPT \
|
|
|
|
|
--disable-dependency-tracking \
|
|
|
|
|
--disable-static \
|
|
|
|
|
--enable-nasm \
|
|
|
|
|
--enable-decode-layer1
|
|
|
|
|
--with-fileio=sndfile
|
|
|
|
|
make -j $JOBS
|
|
|
|
|
make install-strip DESTDIR=$PKG
|
|
|
|
|
|
|
|
|
@ -102,8 +102,8 @@ find $PKG/usr/man -type f -exec gzip -9 '{}' \;
|
|
|
|
|
|
|
|
|
|
# Install the documentation
|
|
|
|
|
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
|
|
|
|
|
install -m 644 API COPYING ChangeLog HACKING INSTALL{,.configure} LICENSE \
|
|
|
|
|
README{,.WINGTK} STYLEGUIDE TODO USAGE $PKG/usr/doc/$NAMEPKG-$VERSION
|
|
|
|
|
install -m 644 API COPYING ChangeLog DEFINES HACKING LICENSE README \
|
|
|
|
|
STYLEGUIDE TODO USAGE $PKG/usr/doc/$NAMEPKG-$VERSION
|
|
|
|
|
mv $PKG/usr/share/doc/lame/html $PKG/usr/doc/$NAMEPKG-$VERSION
|
|
|
|
|
rm -rf $PKG/usr/share
|
|
|
|
|
|
|
|
|
|