wok annotate xvidcore/receipt @ rev 23837
Up freetype (2.10.2), git (2.26.2), glpi (9.4.6)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 01 10:44:24 2020 +0000 (2020-06-01) |
parents | af2cd2c74a98 |
children | 318701ea94ca |
rev | line source |
---|---|
devl547@5630 | 1 # SliTaz package receipt. |
devl547@5630 | 2 |
devl547@5630 | 3 PACKAGE="xvidcore" |
Hans-G?nter@23783 | 4 VERSION="1.3.7" |
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" |
Hans-G?nter@23783 | 12 WGET_URL="https://downloads.xvid.com/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@23783 | 34 |
Hans-G?nter@22316 | 35 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@23783 | 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 } |