wok annotate xvidcore/receipt @ rev 12702
Add: cross-arm-glibc (2.14.1)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 03 18:07:11 2012 +0200 (2012-05-03) |
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 } |