diff options
author | David Woodfall <dave@dawoodfall.net> | 2014-12-16 09:08:56 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-12-16 09:08:56 +0700 |
commit | eafb450388468ca531e214075ca9a2853befb085 (patch) | |
tree | 492220b544d310dc5de2af916ca02e9658a94fd8 /libraries/libilbc/libilbc.SlackBuild | |
parent | 21392f6a0252a45777937d1ac6a9bd1f80882014 (diff) | |
download | slackbuilds-eafb450388468ca531e214075ca9a2853befb085.tar.gz |
libraries/libilbc: Updated for 2.0.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libilbc/libilbc.SlackBuild')
-rw-r--r-- | libraries/libilbc/libilbc.SlackBuild | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libraries/libilbc/libilbc.SlackBuild b/libraries/libilbc/libilbc.SlackBuild index d9a277bd87..df05b3ae4c 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 |