multimedia/xmltv: Updated for version 0.5.51

This commit is contained in:
David Somero 2010-05-11 22:25:01 +02:00 committed by Robby Workman
parent 4431d461b6
commit 704c499da2
2 changed files with 14 additions and 9 deletions

View File

@ -21,18 +21,19 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
set -e
PRGNAM=xmltv
VERSION=0.5.50
VERSION=0.5.51
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=${TMP}/package-${PRGNAM}
OUTPUT=${OUTPUT:-/tmp}
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@ -40,11 +41,15 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
find . \
\( -perm 777 -o -perm 775 -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 {} \;
perl Makefile.PL -default
make
make pure_install DESTDIR=$PKG/
make pure_vendor_install DESTDIR=$PKG/
mv $PKG/usr/share/man $PKG/usr
rmdir $PKG/usr/share
@ -57,7 +62,7 @@ rmdir $PKG/usr/share
# Remove perlocal.pod and .packlist from $PKG; other empty directories
( cd $PKG
find . -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f
rm -rf usr/lib/perl5/site_perl/5.8.8/i486-linux-thread-multi/
# rm -rf usr/lib/perl5/site_perl/5.8.8/i486-linux-thread-multi/
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION

View File

@ -1,8 +1,8 @@
PRGNAM="xmltv"
VERSION="0.5.50"
VERSION="0.5.51"
HOMEPAGE="http://xmltv.org/wiki/"
DOWNLOAD="http://downloads.sourceforge.net/xmltv/xmltv-0.5.50.tar.bz2"
MD5SUM="eb5f7235215906153ea996e2910954ae"
DOWNLOAD="http://downloads.sourceforge.net/xmltv/xmltv-0.5.51.tar.bz2"
MD5SUM="b0b3f0d31b0e7fbc2f615024faedfbb7"
MAINTAINER="David Somero"
EMAIL="dsomero@hotmail.com"
APPROVED="rworkman"