wok-next annotate xvidcore/receipt @ rev 20834
prosody: interesting, requires lua 5.1, and not 5.3
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sun Jun 17 19:14:11 2018 +0000 (2018-06-17) |
parents | 0e8dadf052b9 |
children | f48456621a9d |
rev | line source |
---|---|
al@19816 | 1 # SliTaz package receipt v2. |
devl547@5630 | 2 |
devl547@5630 | 3 PACKAGE="xvidcore" |
al@19816 | 4 VERSION="1.3.3" |
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" |
al@19816 | 9 WEB_SITE="http://www.xvid.org/" |
devl547@5630 | 10 |
al@19816 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19816 | 12 WGET_URL="http://downloads.xvid.org/downloads/$TARBALL" |
al@19816 | 13 |
pascal@15579 | 14 BUILD_DEPENDS="yasm" |
al@19816 | 15 SPLIT="xvidcore-dev" |
pascal@15579 | 16 |
devl547@5630 | 17 # Rules to configure and make the package. |
devl547@5630 | 18 compile_rules() |
devl547@5630 | 19 { |
al@19816 | 20 # http://www.linuxfromscratch.org/blfs/view/stable/multimedia/xvid.html |
al@19816 | 21 cd build/generic && |
al@19816 | 22 sed -i 's/^LN_S=@LN_S@/& -f -v/' platform.inc.in && |
al@19816 | 23 ./configure $CONFIGURE_ARGS && |
devl547@5630 | 24 make && |
al@19816 | 25 sed -i '/libdir.*STATIC_LIB/ s/^/#/' Makefile && |
al@19816 | 26 make DESTDIR=$install install && |
al@19816 | 27 |
al@19816 | 28 find $install/usr/lib/ -name 'libxvidcore.so.*' -type f -exec chmod -v 755 '{}' \; && |
al@19816 | 29 |
al@19816 | 30 mkdir -p $install/usr/share/doc/xvidcore-$VERSION/examples && |
al@19816 | 31 install -v -m644 ../../doc/* $install/usr/share/doc/xvidcore-$VERSION && |
al@19816 | 32 install -v -m644 ../../examples/* \ |
al@19816 | 33 $install/usr/share/doc/xvidcore-$VERSION/examples |
devl547@5630 | 34 } |
devl547@5630 | 35 |
devl547@5630 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@5630 | 37 genpkg_rules() |
devl547@5630 | 38 { |
al@19816 | 39 case $PACKAGE in |
al@19816 | 40 xvidcore) copy @std;; |
al@19816 | 41 *-dev) copy *.h;; |
al@19816 | 42 esac |
devl547@5630 | 43 } |