diff options
author | rhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4> | 2007-11-24 15:54:31 +0000 |
---|---|---|
committer | rhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4> | 2007-11-24 15:54:31 +0000 |
commit | 17b22ec699e803cc723037805fcb8acb535c1422 (patch) | |
tree | 5c6f0d63084172044532c03ec86a1737e47b4ed0 /net/p2p/azureus | |
parent | eeb3008d662f2d465f1e5fb6add36ba3062b7c8f (diff) | |
download | slackbuilds-17b22ec699e803cc723037805fcb8acb535c1422.tar.gz slackbuilds-17b22ec699e803cc723037805fcb8acb535c1422.tar.bz2 |
azureus: package now installs into /opt
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1469 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'net/p2p/azureus')
-rwxr-xr-x | net/p2p/azureus/azureus.SlackBuild | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/net/p2p/azureus/azureus.SlackBuild b/net/p2p/azureus/azureus.SlackBuild index 3359467b..97a54556 100755 --- a/net/p2p/azureus/azureus.SlackBuild +++ b/net/p2p/azureus/azureus.SlackBuild @@ -29,11 +29,12 @@ PRGNAM="azureus" PACKAGE="$PRGNAM" VERSION=${VERSION:=3.0.3.4} ARCH=${ARCH:=i486} -BUILD=${BUILD:=4rha} +BUILD=${BUILD:=5rha} TMP=${TMP:=/tmp} SRC_DIR=${SRC:=$CWD} TMP=${TMP:=/tmp} REPOS=${REPOS:=$TMP} +INSTALL_FOLDER="opt" # change to usr/local if you want if [ "$ARCH" == "x86_64" ]; then LIBDIR=/usr/lib64 @@ -75,21 +76,21 @@ rm -rf $TMP/package-$PACKAGE mkdir -p $TMP/package-$PACKAGE/install cd $TMP/package-$PACKAGE -mkdir -p usr/local -cd usr/local +mkdir -p $INSTALL_FOLDER +cd $INSTALL_FOLDER tar xvf $SRC_DIR/$SRC || exit $ERORR_TAR cd $TMP/package-$PACKAGE if [ "$VERSION" == "2.4.0.2" ]; then - rm usr/local/azureus/plugins/azplugins/* - wget "http://azureus.sourceforge.net/plugins/azplugins_2.0.jar" -O "usr/local/azureus/plugins/azplugins/azplugins_2.0.jar" + rm $INSTALL_FOLDER/azureus/plugins/azplugins/* + wget "http://azureus.sourceforge.net/plugins/azplugins_2.0.jar" -O "$INSTALL_FOLDER/azureus/plugins/azplugins/azplugins_2.0.jar" elif [ "$VERSION" == "2.5.0.4" ]; then - rm usr/local/azureus/plugins/azplugins/* - wget "http://azureus.sourceforge.net/plugins/azplugins_2.1.4.jar" -O "usr/local/azureus/plugins/azplugins/azplugins_2.1.4.jar" + rm $INSTALL_FOLDER/azureus/plugins/azplugins/* + wget "http://azureus.sourceforge.net/plugins/azplugins_2.1.4.jar" -O "$INSTALL_FOLDER/azureus/plugins/azplugins/azplugins_2.1.4.jar" elif [ "$VERSION" == "3.0.3.4" ]; then - rm usr/local/azureus/plugins/azupnpav/* - wget "http://azureus.sourceforge.net/plugins/azupnpav_0.1.7.jar" -O "usr/local/azureus/plugins/azupnpav/azupnpav_0.1.7.jar" + rm $INSTALL_FOLDER/azureus/plugins/azupnpav/* + wget "http://azureus.sourceforge.net/plugins/azupnpav_0.1.7.jar" -O "$INSTALL_FOLDER/azureus/plugins/azupnpav/azupnpav_0.1.7.jar" fi cat << EOF > install/slack-desc |