Browse Source

l/xvidcore: Upgraded to xvidcore-1.3.1.

slackware-14.2
Damien Goutte-Gattat 11 years ago
parent
commit
2dcf2049ba
  1. 1
      l/xvidcore/xvidcore-1.2.2.tar.gz.sha1
  2. 1
      l/xvidcore/xvidcore-1.3.1.tar.gz.sha1
  3. 13
      l/xvidcore/xvidcore.SlackBuild

1
l/xvidcore/xvidcore-1.2.2.tar.gz.sha1

@ -1 +0,0 @@
d6e73c725b2fe74695f9fd129966c98f81b27fea xvidcore-1.2.2.tar.gz

1
l/xvidcore/xvidcore-1.3.1.tar.gz.sha1

@ -0,0 +1 @@
68c73b9a00dfb830083f619335eb876b0f845bec xvidcore-1.3.1.tar.gz

13
l/xvidcore/xvidcore.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2008,2009 Damien Goutte-Gattat
# Copyright (C) 2008,2009,2011 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -26,14 +26,14 @@
# Source package infos
NAMESRC=${NAMESRC:-xvidcore}
VERSION=${VERSION:-1.2.2}
VERSION=${VERSION:-1.3.1}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-http://downloads.xvid.org/downloads/$ARCHIVE}
# Built package infos
NAMEPKG=${NAMEPKG:-xvidcore}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-i486}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}
@ -93,9 +93,12 @@ make install DESTDIR=$PKG
# Don't follow the advice in doc/INSTALL. A library must either
# use the Libtool's versioning scheme, or not be versioned at all.
mv $PKG/usr/lib$LIBDIRSUFFIX/libxvidcore.so.4.2 \
mv $PKG/usr/lib$LIBDIRSUFFIX/libxvidcore.so.4.3 \
$PKG/usr/lib$LIBDIRSUFFIX/libxvidcore.so
# Remove static library
rm $PKG/usr/lib$LIBDIRSUFFIX/libxvidcore.a
# Strip binaries
find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
xargs strip --strip-unneeded 2> /dev/null
@ -104,7 +107,7 @@ find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
cd $TMP/$NAME
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 \
AUTHORS ChangeLog{,-1.0} CodingStyle LICENSE README TODO doc/INSTALL \
AUTHORS ChangeLog{,-1.0} CodingStyle LICENSE README TODO \
$PKG/usr/doc/$NAMEPKG-$VERSION
# Copy slack-desc file

Loading…
Cancel
Save