wok annotate xvidcore/receipt @ rev 15915
Up: slitaz-boot-scripts
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Feb 15 20:15:30 2014 +0100 (2014-02-15) |
parents | 32a88a6f5f4f |
children | 410afe495014 |
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" |
pascal@15579 | 8 LICENSE="GPL2" |
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 |
pascal@15579 | 13 BUILD_DEPENDS="yasm" |
pascal@15579 | 14 |
devl547@5630 | 15 # Rules to configure and make the package. |
devl547@5630 | 16 compile_rules() |
devl547@5630 | 17 { |
gokhlayeh@8227 | 18 cd $src/build/generic |
devl547@5630 | 19 ./configure \ |
devl547@5630 | 20 --prefix=/usr \ |
devl547@5630 | 21 --mandir=/usr/share/man \ |
devl547@5630 | 22 $CONFIGURE_ARGS && |
devl547@5630 | 23 make && |
slaxemulator@12326 | 24 make DESTDIR=$DESTDIR install |
devl547@5630 | 25 } |
devl547@5630 | 26 |
devl547@5630 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@5630 | 28 genpkg_rules() |
devl547@5630 | 29 { |
devl547@5630 | 30 mkdir -p $fs/usr/lib |
slaxemulator@12326 | 31 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@12326 | 32 cd $fs/usr/lib |
slaxemulator@12326 | 33 _mylib=$(basename libxvidcore.so.*) |
slaxemulator@12326 | 34 ln -sf ${_mylib} libxvidcore.so.4 |
slaxemulator@12326 | 35 ln -sf ${_mylib} libxvidcore.so |
devl547@5630 | 36 } |