Commits

Anonymous committed a16d755

libkarma add LINK and build 0.1.2

  • Participants
  • Parent commits 67b1887

Comments (0)

Files changed (1)

File var/vabs/libkarma/src/libkarma.SlackBuild

 VERSION=${VERSION:-"0.1.2"}      #Enter package Version!
 VER=$(echo $VERSION|sed 's/-/_/') #this fixes - in version
 VL_PACKAGER=${VL_PACKAGER:-"hata_ph"}   #Enter your Name!
-LINK=${LINK:-""}  #Enter URL for package here!
+LINK=${LINK:-"http://www.freakysoft.de/${NAME}/${NAME}-${VERSION}.tar.gz"}  #Enter URL for package here!
 
 
 #SYSTEM VARIABLES
 LDFLAG_OPTIONS=${LDFLAG_OPTIONS:-""}
 ADDRB=${ADDRB:-""} #Add deps that need to be added to the slack-required file here
 EXRB=${EXRB:-""} #Add deps that need to be excluded from the slack-required file here
+MAKEDEPENDS="libusb-compat taglib"
+NUMJOBS=${NUMJOBS:-"-j6"}
 #----------------------------------------------------------------------------
 
-
+if [ "$NORUN" != 1 ]; then
 #SETUP PACKAGING ENVIRONMENT
 #--------------------------------------------
 CWD=$(pwd)
 #  --build=$CONFIGURE_TRIPLET \
 #  $CONFIG_OPTIONS || exit 1
 
-make || exit 1
+make PREFIX=/usr || exit 1
 
 make install DESTDIR=$PKG || exit
 
 
 #######################################################################
 #Miscellenious tweaks and things outside a normal ./configure go here #
+if [ "$ARCH" = "x86_64" ]; then
+	mv $PKG/usr/lib $PKG/usr/lib${LIBDIRSUFFIX}
+fi
 #######################################################################
 
 
 #--------------------------------------------------------------
 
 # vim: set tabstop=4 shiftwidth=4 foldmethod=marker : ##
+fi