system/freedup: Updated for version 1.6.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
83e0c95551
commit
73614e0b64
|
@ -23,12 +23,11 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=freedup
|
||||
VERSION=${VERSION:-1.6.2}
|
||||
VERSION=${VERSION:-1.6.3}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
ALTVER=${ALTVER:-1.6}
|
||||
SRCVERSION=${SRCVERSION:-1.6-2-src}
|
||||
ALTVER=${ALTVER:-1.6-3}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
|
@ -62,26 +61,27 @@ set -e
|
|||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.bz2
|
||||
mv $PRGNAM-$ALTVER $PRGNAM-$VERSION
|
||||
cd $PRGNAM-$VERSION
|
||||
rm -rf $PRGNAM-$ALTVER
|
||||
tar xvf $CWD/$PRGNAM-$ALTVER-src.tar.bz2
|
||||
cd $PRGNAM-$ALTVER
|
||||
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 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
export CFLAGS="$SLKCFLAGS"
|
||||
export CXXFLAGS="$SLKCFLAGS"
|
||||
|
||||
make -j1 DCOL=""
|
||||
make install PRE=$PKG MANPAGEDIR=$PKG/usr/man/
|
||||
make install MANDIR=/usr/man/ DESTDIR=$PKG
|
||||
|
||||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
chmod -x $PKG/usr/man/man1/*
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a COPYING ChangeLog README TODO html $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="freedup"
|
||||
VERSION="1.6.2"
|
||||
VERSION="1.6.3"
|
||||
HOMEPAGE="http://freedup.org"
|
||||
DOWNLOAD="http://freedup.org/freedup-1.6-2-src.tar.bz2"
|
||||
MD5SUM="3e11eac2168118efbb92e63264bc154d"
|
||||
DOWNLOAD="http://freedup.org/freedup-1.6-3-src.tar.bz2"
|
||||
MD5SUM="e404f401952cfe7a89efc8d9cecb212b"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in New Issue