Commits

Uelsk8s committed 0b6a20b

add librfm5 dep rodent

  • Participants
  • Parent commits af8bfd1

Comments (0)

Files changed (1)

var/vabs/rodent/src/rodent.SlackBuild

 # Linux forum at http://forum.vectorlinux.com and from tidbits collected 
 # from all over the internet. 
 #
-# Generated by sbbuilder-0.4.13, written by Rodrigo Bistolfi 
+# Generated by sbbuilder-0.4.15, written by Rodrigo Bistolfi 
 # (rbistolfi) and Raimon Grau Cuscó (Kidd) for VectorLinux.
 #
 # Please put your name below if you add some original scripting lines.
 # AUTHORS = 
 
 NAME="rodent"            #Enter package Name!
-VERSION=${VERSION:-"4.6.2"}      #Enter package Version!
+VERSION=${VERSION:-"5.2.8"}      #Enter package Version!
 VER=$(echo $VERSION|sed 's/-/_/') #this fixes - in version
-VL_PACKAGER=${VL_PACKAGER:-"stretchedthin"}   #Enter your Name!
-LINK=${LINK:-""}  #Enter URL for package here!
+VL_PACKAGER=${VL_PACKAGER:-"Uelsk8s"}   #Enter your Name!
+LINK=${LINK:-"http://downloads.sourceforge.net/project/xffm/$NAME/$NAME-$VERSION.tar.bz2"}  #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=${MAKEDEPENDS:-"librfm5 libtubo0 libdbh2"} #Add deps needed TO BUILD this package here.
 #----------------------------------------------------------------------------
 
+# DO NOT EXECUTE if NORUN is set to 1
+if [ "$NORUN" != "1" ]; then
 
 #SETUP PACKAGING ENVIRONMENT
 #--------------------------------------------
 if [[ "$ARCH" = i?86 ]]; then
   ARCH=i586
   SLKCFLAGS="-O2 -march=i586 -mtune=i686"
-  CONFIGURE_TRIPLET="i586-vector-linux"
+  CONFIGURE_TRIPLET="i486-vector-linux"
   LIBDIRSUFFIX=""
 elif [ "$ARCH" = "x86_64" ]; then
   SLKCFLAGS="-O2 -fpic"
 #######################################################################
 
 
-# Menu entry - http://standards.freedesktop.org/desktop-entry-spec/latest/
-
-if test -f $CWD/$NAME.png; then
-  mkdir -p $PKG/usr/share/pixmaps
-  cp $CWD/$NAME.png $PKG/usr/share/pixmaps/$NAME.png
-fi
-
-mkdir -p $PKG/usr/share/applications
-if test -f $CWD/${NAME}.desktop; then
-  cp $CWD/*.desktop $PKG/usr/share/applications/
-else
-cat > $PKG/usr/share/applications/$NAME.desktop << EOF
-[Desktop Entry]
-# Please edit as needed
-Name=$NAME
-GenericName=
-Comment=
-Exec=$NAME
-Icon=$NAME.png
-
-# AudioVideo, Development, Education, Game, Graphics, Network
-# Office, Settings, System, Utility
-Categories=
-		
-Type=Application
-Terminal=false
-Encoding=UTF-8
-
-#TryExec=
-#Path=
-#StartupWMClass=
-#NoDisplay=
-#StartupNotify=
-#MimeType=
-#OnlyShowIn=
-#NotShowIn=
-
-#Localization example
-#Name[es]=
-#Comment[es]=
-EOF
-fi
-
 
 mkdir -p $PKG/usr/doc/$NAME-$VERSION
 cp -a AUTHORS COPYING ChangeLog Credits MANIFEST README TODO \
 DISTRO:    $(cat /etc/vector-version)
 CFLAGS:    $CFLAGS
 LDFLAGS:   $LDFLAGS
-CONFIGURE: $(awk "/\.\/configure\ /" $TMP/$NAME-$VERSION/config.log)
+CONFIGURE: $(awk "/\\$\ \.\/configure\ /" $TMP/$DIRNAME/config.log)
 
 EOF
 
 cd $CWD
 echo "Cleaning up temp files..." && rm -rf $TMP
 echo "Package Complete"
+fi
 #--------------------------------------------------------------
 
-# vim: set tabstop=4 shiftwidth=4 foldmethod=marker : ##
+# vim: set tabstop=4 shiftwidth=4 foldmethod=marker : ##