summaryrefslogtreecommitdiff
path: root/libraries/libnice/libnice.SlackBuild
diff options
context:
space:
mode:
authorDavid Woodfall <dave@dawoodfall.net>2010-06-14 00:06:07 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-06-14 03:18:18 -0500
commit1652343610c5925d72c63ef4b26045c392c7402e (patch)
treec07fdedc06b702d670564ec4e08ec3f46c490166 /libraries/libnice/libnice.SlackBuild
parente3eadaba51852626511ce4649af0208710da3cbf (diff)
downloadslackbuilds-1652343610c5925d72c63ef4b26045c392c7402e.tar.gz
libraries/libnice: Updated for version 0.0.12.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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}
-
-