wok-next annotate xvidcore/receipt @ rev 17242
lxqt-config-randr: fix build.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Oct 18 22:44:33 2014 +0300 (2014-10-18) |
parents | eb8067417980 |
children | 0e8dadf052b9 |
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" |
pankso@16121 | 12 HOST_ARCH="i486 arm" |
devl547@5630 | 13 |
pascal@15579 | 14 BUILD_DEPENDS="yasm" |
pascal@15579 | 15 |
devl547@5630 | 16 # Rules to configure and make the package. |
devl547@5630 | 17 compile_rules() |
devl547@5630 | 18 { |
gokhlayeh@8227 | 19 cd $src/build/generic |
devl547@5630 | 20 ./configure \ |
devl547@5630 | 21 --prefix=/usr \ |
devl547@5630 | 22 --mandir=/usr/share/man \ |
devl547@5630 | 23 $CONFIGURE_ARGS && |
devl547@5630 | 24 make && |
slaxemulator@12326 | 25 make DESTDIR=$DESTDIR install |
devl547@5630 | 26 } |
devl547@5630 | 27 |
devl547@5630 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@5630 | 29 genpkg_rules() |
devl547@5630 | 30 { |
devl547@5630 | 31 mkdir -p $fs/usr/lib |
slaxemulator@12326 | 32 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@12326 | 33 cd $fs/usr/lib |
slaxemulator@12326 | 34 _mylib=$(basename libxvidcore.so.*) |
slaxemulator@12326 | 35 ln -sf ${_mylib} libxvidcore.so.4 |
slaxemulator@12326 | 36 ln -sf ${_mylib} libxvidcore.so |
devl547@5630 | 37 } |