wok annotate xvidcore/receipt @ rev 22685
Add dsh & pssh
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 19 16:16:58 2020 +0100 (2020-01-19) |
parents | 410afe495014 |
children | 983b132bc56b |
rev | line source |
---|---|
devl547@5630 | 1 # SliTaz package receipt. |
devl547@5630 | 2 |
devl547@5630 | 3 PACKAGE="xvidcore" |
Hans-G?nter@22316 | 4 VERSION="1.3.5" |
devl547@5630 | 5 CATEGORY="multimedia" |
Hans-G?nter@22316 | 6 SHORT_DESC="XviD, a high performance and quality MPEG-4 video de- and encoding solution." |
devl547@5630 | 7 MAINTAINER="devl547@gmail.com" |
pascal@15579 | 8 LICENSE="GPL2" |
Hans-G?nter@22316 | 9 WEB_SITE="https://www.xvid.com/" |
Hans-G?nter@22316 | 10 |
devl547@5630 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
devl547@5630 | 12 WGET_URL="http://downloads.xvid.org/downloads/$TARBALL" |
devl547@5630 | 13 |
pascal@15579 | 14 BUILD_DEPENDS="yasm" |
pascal@15579 | 15 |
Hans-G?nter@22316 | 16 HOST_ARCH="i486 arm" |
Hans-G?nter@22316 | 17 |
devl547@5630 | 18 # Rules to configure and make the package. |
devl547@5630 | 19 compile_rules() |
devl547@5630 | 20 { |
gokhlayeh@8227 | 21 cd $src/build/generic |
Hans-G?nter@22316 | 22 ./configure \ |
Hans-G?nter@22316 | 23 --prefix=/usr \ |
Hans-G?nter@22316 | 24 --mandir=/usr/share/man \ |
devl547@5630 | 25 $CONFIGURE_ARGS && |
devl547@5630 | 26 make && |
slaxemulator@12326 | 27 make DESTDIR=$DESTDIR install |
devl547@5630 | 28 } |
devl547@5630 | 29 |
devl547@5630 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@5630 | 31 genpkg_rules() |
devl547@5630 | 32 { |
devl547@5630 | 33 mkdir -p $fs/usr/lib |
Hans-G?nter@22316 | 34 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@22316 | 35 |
slaxemulator@12326 | 36 cd $fs/usr/lib |
slaxemulator@12326 | 37 _mylib=$(basename libxvidcore.so.*) |
slaxemulator@12326 | 38 ln -sf ${_mylib} libxvidcore.so.4 |
slaxemulator@12326 | 39 ln -sf ${_mylib} libxvidcore.so |
devl547@5630 | 40 } |