summaryrefslogtreecommitdiff
path: root/libraries/libnice/libnice.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libnice/libnice.SlackBuild')
-rw-r--r--libraries/libnice/libnice.SlackBuild13
1 files changed, 4 insertions, 9 deletions
diff --git a/libraries/libnice/libnice.SlackBuild b/libraries/libnice/libnice.SlackBuild
index b4178541a3..49e9f01b3c 100644
--- a/libraries/libnice/libnice.SlackBuild
+++ b/libraries/libnice/libnice.SlackBuild
@@ -25,18 +25,15 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. FURTHERMORE I AM NOT LIABLE IF
# YOUR DATA IS DESTROYED, YOUR HOUSE BURNS DOWN OR YOUR DOG RUNS OFF.
-
PRGNAM=libnice
-VERSION=${VERSION:-0.0.11}
+VERSION=${VERSION:-0.0.12}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -93,9 +90,9 @@ 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 AUTHORS ChangeLog NEWS COPYING INSTALL README COPYING.LGPL TODO COPYING.MPL \
-$PKG/usr/doc/$PRGNAM-$VERSION
-
+cp -a \
+ AUTHORS ChangeLog NEWS COPYING INSTALL README COPYING.LGPL TODO COPYING.MPL \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -103,5 +100,3 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
-
-