aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Woodfall <dave@dawoodfall.net>2014-12-16 09:08:56 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-12-16 09:08:56 +0700
commiteafb450388468ca531e214075ca9a2853befb085 (patch)
tree492220b544d310dc5de2af916ca02e9658a94fd8
parent21392f6a0252a45777937d1ac6a9bd1f80882014 (diff)
libraries/libilbc: Updated for 2.0.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/libilbc/libilbc.SlackBuild16
-rw-r--r--libraries/libilbc/libilbc.info6
2 files changed, 11 insertions, 11 deletions
diff --git a/libraries/libilbc/libilbc.SlackBuild b/libraries/libilbc/libilbc.SlackBuild
index d9a277bd87dd..df05b3ae4cfd 100644
--- a/libraries/libilbc/libilbc.SlackBuild
+++ b/libraries/libilbc/libilbc.SlackBuild
@@ -22,7 +22,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libilbc
-VERSION=${VERSION:-git20131002}
+VERSION=${VERSION:-2.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -59,14 +59,14 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
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 {} \;
# fix libdir
sed -i "s|lib/\${CMAKE_LIBRARY_ARCHITECTURE}|lib\${LIB_SUFFIX}|g" \
@@ -78,7 +78,7 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DBUILD_SHARED_LIBS=1 \
-DCMAKE_BUILD_TYPE=Release \
..
make
@@ -89,7 +89,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING INSTALL README \
+cp -a COPYING INSTALL README.md NEWS.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/libraries/libilbc/libilbc.info b/libraries/libilbc/libilbc.info
index f3c4837e70a8..e8583962135d 100644
--- a/libraries/libilbc/libilbc.info
+++ b/libraries/libilbc/libilbc.info
@@ -1,8 +1,8 @@
PRGNAM="libilbc"
-VERSION="git20131002"
+VERSION="2.0.2"
HOMEPAGE="https://github.com/dekkers/libilbc"
-DOWNLOAD="http://www.unrealize.co.uk/source/libilbc-git20131002.tar.gz"
-MD5SUM="45b7a45f765815a9950a68743430d634"
+DOWNLOAD="https://github.com/TimothyGu/libilbc/releases/download/v2.0.2/libilbc-2.0.2.tar.bz2"
+MD5SUM="a5d354249c599cb92d4a93202a54c273"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""