summaryrefslogtreecommitdiffstats
path: root/system/prelink/prelink.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/prelink/prelink.SlackBuild')
-rw-r--r--system/prelink/prelink.SlackBuild14
1 files changed, 6 insertions, 8 deletions
diff --git a/system/prelink/prelink.SlackBuild b/system/prelink/prelink.SlackBuild
index 0918235c6f..b40fc77c8f 100644
--- a/system/prelink/prelink.SlackBuild
+++ b/system/prelink/prelink.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=prelink
-VERSION=${VERSION:-20111012}
+VERSION=${VERSION:-20130503}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -63,13 +63,12 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
mv $PRGNAM $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
-
chown -R root:root .
find -L . \
-\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
-\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKFLAGS" \
CXXFLAGS="$SLKFLAGS" \
@@ -92,8 +91,7 @@ mkdir -p $PKG/etc
cat $CWD/prelink.conf > $PKG/etc/prelink.conf.new
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO \
+cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cp doc/prelink.pdf $PKG/usr/doc/$PRGNAM-$VERSION