Commits

Anonymous committed ffada29

Rebuild libmusicbrainz

Signed-off-by: Lee Pak Hong <benreilly@vector.Linux.net>

  • Participants
  • Parent commits 5444d7c
  • Branches veclinux-7.0

Comments (0)

Files changed (1)

File var/vabs/libmusicbrainz/src/libmusicbrainz.SlackBuild

 # Please put your name below if you add some original scripting lines.
 # AUTHORS = 
 
-NAME="libmusicbrainz2"            #Enter package Name!
+NAME="libmusicbrainz"            #Enter package Name!
 VERSION=${VERSION:-"2.1.5"}      #Enter package Version!
 VER=$(echo $VERSION|sed 's/-/_/') #this fixes - in version
 VL_PACKAGER=${VL_PACKAGER:-"hata_ph"}   #Enter your Name!
-LINK=${LINK:-"http://ftp.musicbrainz.org/pub/musicbrainz/historical/libmusicbrainz-$VERSION.tar.gz"}  #Enter URL for package here!
+LINK=${LINK:-"http://ftp.musicbrainz.org/pub/musicbrainz/historical/$NAME-$VERSION.tar.gz"}  #Enter URL for package here!
 
 
 #SYSTEM VARIABLES
 rm -rf $PKG
 mkdir -p $PKG
 cd $TMP
-rm -rf libmusicbrainz-$VERSION
+rm -rf $NAME-$VERSION
 
 
 #EXTRACT SOURCES
 #-----------------------------------------------------
 echo "Extracting source..."
-tar xvf $CWD/libmusicbrainz-$VERSION.tar.* || exit 1
+tar xvf $CWD/$NAME-$VERSION.tar.* || exit 1
 #-----------------------------------------------------
 
 
-cd $TMP/libmusicbrainz-$VERSION
+cd $TMP/$NAME-$VERSION
 
 #PATCHES
 #-----------------------------------------------------