wok-6.x annotate xvidcore/receipt @ rev 14789

Fix ownership and permissions for some files in some packages: adeskbar, ajaxterm, amsn, anacron, arora, asciiquarium, assaultcube-data, asterisk-sound-fr, asterisk-sound, attr-dev, attr, audacious, avidemux, awstats, bind-dev, binutils, blogotext, bootchart, btanks, bzip2-dev, c-client, cairo-dock.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jul 08 11:45:27 2013 +0300 (2013-07-08)
parents 0d06b2cd33d0
children eb8067417980
rev   line source
devl547@5630 1 # SliTaz package receipt.
devl547@5630 2
devl547@5630 3 PACKAGE="xvidcore"
devl547@11301 4 VERSION="1.3.2"
devl547@5630 5 CATEGORY="multimedia"
devl547@5630 6 SHORT_DESC="XviD, a high performance/quality MPEG-4 video de-/encoding solution"
devl547@5630 7 MAINTAINER="devl547@gmail.com"
devl547@5630 8 BUILD_DEPENDS="yasm"
devl547@5630 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
devl547@5630 10 WEB_SITE="http://www.xvid.org"
devl547@5630 11 WGET_URL="http://downloads.xvid.org/downloads/$TARBALL"
devl547@5630 12
devl547@5630 13 # Rules to configure and make the package.
devl547@5630 14 compile_rules()
devl547@5630 15 {
gokhlayeh@8227 16 cd $src/build/generic
devl547@5630 17 ./configure \
devl547@5630 18 --prefix=/usr \
devl547@5630 19 --mandir=/usr/share/man \
devl547@5630 20 $CONFIGURE_ARGS &&
devl547@5630 21 make &&
slaxemulator@12326 22 make DESTDIR=$DESTDIR install
devl547@5630 23 }
devl547@5630 24
devl547@5630 25 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@5630 26 genpkg_rules()
devl547@5630 27 {
devl547@5630 28 mkdir -p $fs/usr/lib
slaxemulator@12326 29 cp -a $install/usr/lib/*.so* $fs/usr/lib
slaxemulator@12326 30 cd $fs/usr/lib
slaxemulator@12326 31 _mylib=$(basename libxvidcore.so.*)
slaxemulator@12326 32 ln -sf ${_mylib} libxvidcore.so.4
slaxemulator@12326 33 ln -sf ${_mylib} libxvidcore.so
devl547@5630 34 }