Commits

Anonymous committed 6dac7f9

Rebuild qca with lib64 for 64bit

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

  • Participants
  • Parent commits 41eb16e
  • Branches veclinux-7.0

Comments (0)

Files changed (1)

File var/vabs/qca/src/qca.SlackBuild

 
 #SYSTEM VARIABLES
 #----------------------------------------------------------------------------
-BUILDNUM=${BUILDNUM:-"1"}
+BUILDNUM=${BUILDNUM:-"3"}
 VL_VERSION=${VL_VERSION:-"$(ls /var/log/packages/|grep vlconfig2|cut -d "-" -f4|cut -c 2-5)"}
 BUILD=${BUILD:-"$BUILDNUM""$VL_VERSION"}
 ARCH=${ARCH:-"$(uname -m)"}
 LDFLAG_OPTIONS=${LDFLAG_OPTIONS:-""}
 ADDRB=${ADDRB:-"ca-certificates >= 20090814+nmu2"} #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:-""} #Add make deps for packaging
+MAKEDEPENDS=${MAKEDEPENDS:-"ca-certificates"} #Add make deps for packaging
 #----------------------------------------------------------------------------
 
 if [ "$NORUN" != 1 ]; then
 
 # 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
 
 sed -i \
 -e "s|QMAKE_LFLAGS_SONAME =.*|QMAKE_LFLAGS_SONAME = -Wl,-install_name,|g" \
 
 echo "Configuring source..."
 ./configure --prefix=/usr \
-		--libdir=/usr/lib
+		--libdir=/usr/lib${LIBDIRSUFFIX}
 		--disable-tests \
 		--certstore-path=/etc/ssl/certs/ca-certificates.crt \
 		--release \
 
 
 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 \
-$PKG/usr/doc/$NAME-$VERSION
+cp -a COPYING* INSTALL README* TODO* $PKG/usr/doc/$NAME-$VERSION
 cat $CWD/$NAME.SlackBuild > $PKG/usr/doc/$NAME-$VERSION/$NAME.SlackBuild
 
 #----------------------------------------------------------------------