mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
libraries/librsync: Updated for version 0.9.7
This commit is contained in:
parent
060e1b40ba
commit
f4ce0ba781
3 changed files with 18 additions and 1 deletions
|
@ -19,6 +19,7 @@ VERSION=0.9.7
|
||||||
ARCH=${ARCH:-i486}
|
ARCH=${ARCH:-i486}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/SBo}
|
TMP=${TMP:-/tmp/SBo}
|
||||||
PKG=$TMP/package-$PRGNAM
|
PKG=$TMP/package-$PRGNAM
|
||||||
|
@ -26,8 +27,13 @@ OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
if [ "$ARCH" = "i486" ]; then
|
if [ "$ARCH" = "i486" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
elif [ "$ARCH" = "i686" ]; then
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
|
elif [ "$ARCH" = "x86_64" ]; then
|
||||||
|
SLKCFLAGS="-O2 -fPIC"
|
||||||
|
LIBDIRSUFFIX="64"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
|
@ -43,6 +49,7 @@ CFLAGS="$SLKCFLAGS" \
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
|
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--enable-static \
|
--enable-static \
|
||||||
--disable-dependency-tracking
|
--disable-dependency-tracking
|
||||||
|
@ -64,4 +71,4 @@ mkdir -p $PKG/install
|
||||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||||
|
|
||||||
cd $PKG
|
cd $PKG
|
||||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
||||||
|
|
|
@ -2,7 +2,9 @@ PRGNAM="librsync"
|
||||||
VERSION="0.9.7"
|
VERSION="0.9.7"
|
||||||
HOMEPAGE="http://librsync.sourceforge.net/"
|
HOMEPAGE="http://librsync.sourceforge.net/"
|
||||||
DOWNLOAD="http://downloads.sourceforge.net/librsync/librsync-0.9.7.tar.gz"
|
DOWNLOAD="http://downloads.sourceforge.net/librsync/librsync-0.9.7.tar.gz"
|
||||||
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM="24cdb6b78f45e0e83766903fd4f6bc84"
|
MD5SUM="24cdb6b78f45e0e83766903fd4f6bc84"
|
||||||
|
MD5SUM_x86_64=""
|
||||||
MAINTAINER="Lyle Sigurdson"
|
MAINTAINER="Lyle Sigurdson"
|
||||||
EMAIL="lyle_s@myrealbox.com "
|
EMAIL="lyle_s@myrealbox.com "
|
||||||
APPROVED="alien,rworkman"
|
APPROVED="alien,rworkman"
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
# HOW TO EDIT THIS FILE:
|
||||||
|
# The "handy ruler" below makes it easier to edit a package description. Line
|
||||||
|
# up the first '|' above the ':' following the base package name, and the '|' on
|
||||||
|
# the right side marks the last column you can put a character in. You must make
|
||||||
|
# exactly 11 lines for the formatting to be correct. It's also customary to
|
||||||
|
# leave one space after the ':'.
|
||||||
|
|
||||||
|-----handy-ruler------------------------------------------------------|
|
|-----handy-ruler------------------------------------------------------|
|
||||||
librsync: librsync (rsync synchronization algorithm library.)
|
librsync: librsync (rsync synchronization algorithm library.)
|
||||||
librsync:
|
librsync:
|
||||||
|
@ -10,3 +17,4 @@ librsync: when the receiving computer already has a different version of the
|
||||||
librsync: same structure.
|
librsync: same structure.
|
||||||
librsync:
|
librsync:
|
||||||
librsync: Slackbuild written by Lyle Sigurdson.
|
librsync: Slackbuild written by Lyle Sigurdson.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue