Commits

Anonymous committed 3b4827d

procmail add binaries to the package

Comments (0)

Files changed (1)

var/vabs/procmail/src/procmail.SlackBuild

 
 #SYSTEM VARIABLES
 #----------------------------------------------------------------------------
-BUILDNUM=${BUILDNUM:-"1"}
+BUILDNUM=${BUILDNUM:-"2"}
 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)"}
 # correct path and that it will work seamlessly within the KDE environment.
 #
 #-----------------------------------------------------------------------
-
 echo "Configuring source..."
 
 make || exit 1
 
+# For some reason, this thing wont make install right.
+mkdir -p $PKG/usr/bin
 cd src
-cat formail > $PKG/usr/bin/formail
-cat lockfile > $PKG/usr/bin/lockfile
-cat mailstat > $PKG/usr/bin/mailstat
-cat procmail > $PKG/usr/bin/procmail
+for file in formail lockfile mailstat procmail; do
+	cp $file $PKG/usr/bin/ || exit 1
+done
+#ls
+#read
+#cat formail > $PKG/usr/bin/formail
+#cat lockfile > $PKG/usr/bin/lockfile
+#cat mailstat > $PKG/usr/bin/mailstat
+#cat procmail > $PKG/usr/bin/procmail
 
 
 #######################################################################