diff options
Diffstat (limited to 'audio/rack/rack.SlackBuild')
-rw-r--r-- | audio/rack/rack.SlackBuild | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/audio/rack/rack.SlackBuild b/audio/rack/rack.SlackBuild index e2bb9db6c9..d782b51e9c 100644 --- a/audio/rack/rack.SlackBuild +++ b/audio/rack/rack.SlackBuild @@ -21,23 +21,15 @@ # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - +cd $(dirname $0) ; CWD=$(pwd) PRGNAM=rack SRCNAM=Rack2Free -VERSION=${VERSION:-2.0.6} +VERSION=${VERSION:-2.4.1} SRCDIR=RackFree-$VERSION BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. -if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then - echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" - exit 0 -fi - if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -46,6 +38,14 @@ if [ -z "$ARCH" ]; then esac fi +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + if [ "$ARCH" = "i586" ]; then BITFLAG="32" elif [ "$ARCH" = "x86_64" ]; then @@ -54,7 +54,6 @@ else BITFLAG="" fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -66,7 +65,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $SRCDIR -unzip $CWD/$SRCDIR-lin.zip +unzip $CWD/$SRCDIR-lin-x64.zip cd $SRCNAM && chown -R root:root . find -L . \ |