Commits

Lee Pak Hong  committed 9e94357

Update obconf to 2.0.4

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

  • Participants
  • Parent commits f713d80
  • Branches veclinux-7.0

Comments (0)

Files changed (1)

File var/vabs/obconf/src/obconf.SlackBuild

 # AUTHORS = 
 
 NAME="obconf"            #Enter package Name!
-VERSION=${VERSION:-"2.0.3.git20100309"}      #Enter package Version!
+VERSION=${VERSION:-"2.0.4"}      #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://openbox.org/dist/$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=${MAKEDEPENDS:-"openbox"} #Add deps needed TO BUILD this package here.
 #----------------------------------------------------------------------------
 
+# DO NOT EXECUTE if NORUN is set to 1
+if [ "$NORUN" != "1" ]; then
+
 
 #SETUP PACKAGING ENVIRONMENT
 #--------------------------------------------
 
 # Put any Patches into a patches folder in the src dir
 #-----------------------------------------------------
-for i in $CWD/patches/*;do
-	patch -p1 <$i
-done
+#for i in $CWD/patches/*;do
+#	patch -p1 <$i
+#done
 #-----------------------------------------------------
 
 
 #-----------------------------------------------------------------------
 
 echo "Configuring source..."
-./bootstrap
 ./configure --prefix=/usr \
   --libdir=/usr/lib${LIBDIRSUFFIX} \
   --infodir=/usr/info \
 
 
 mkdir -p $PKG/usr/doc/$NAME-$VERSION
-cp -a ANNOUNCE* AUTHORS* BUGS* COPYING* ChangeLog* CHANGELOG* Credits* DEVELOPERS \
-LICENSE* MANIFEST PROVENANCE README* TODO* Exception_to_GPL_for_Qt.txt \
+cp -a ABOUT* AUTHORS* COPYING* CHANGELOG* NEWS README* TODO* \
 $PKG/usr/doc/$NAME-$VERSION
 cat $CWD/$NAME.SlackBuild > $PKG/usr/doc/$NAME-$VERSION/$NAME.SlackBuild
 
 cd $CWD
 echo "Cleaning up temp files..." && rm -rf $TMP
 echo "Package Complete"
+fi
 #--------------------------------------------------------------
 
 # vim: set tabstop=4 shiftwidth=4 foldmethod=marker : ##