wok-next annotate xvidcore/receipt @ rev 19999

Up qedit, qbittorrent
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Fri Oct 20 21:21:58 2017 +0200 (2017-10-20)
parents 410afe495014
children c4e53a39395a
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/"
pankso@16121 10 HOST_ARCH="i486 arm"
devl547@5630 11
al@19816 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@19816 13 WGET_URL="http://downloads.xvid.org/downloads/$TARBALL"
al@19816 14
pascal@15579 15 BUILD_DEPENDS="yasm"
al@19816 16 SPLIT="xvidcore-dev"
pascal@15579 17
devl547@5630 18 # Rules to configure and make the package.
devl547@5630 19 compile_rules()
devl547@5630 20 {
al@19816 21 # http://www.linuxfromscratch.org/blfs/view/stable/multimedia/xvid.html
al@19816 22 cd build/generic &&
al@19816 23 sed -i 's/^LN_S=@LN_S@/& -f -v/' platform.inc.in &&
al@19816 24 ./configure $CONFIGURE_ARGS &&
devl547@5630 25 make &&
al@19816 26 sed -i '/libdir.*STATIC_LIB/ s/^/#/' Makefile &&
al@19816 27 make DESTDIR=$install install &&
al@19816 28
al@19816 29 find $install/usr/lib/ -name 'libxvidcore.so.*' -type f -exec chmod -v 755 '{}' \; &&
al@19816 30
al@19816 31 mkdir -p $install/usr/share/doc/xvidcore-$VERSION/examples &&
al@19816 32 install -v -m644 ../../doc/* $install/usr/share/doc/xvidcore-$VERSION &&
al@19816 33 install -v -m644 ../../examples/* \
al@19816 34 $install/usr/share/doc/xvidcore-$VERSION/examples
devl547@5630 35 }
devl547@5630 36
devl547@5630 37 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@5630 38 genpkg_rules()
devl547@5630 39 {
al@19816 40 case $PACKAGE in
al@19816 41 xvidcore) copy @std;;
al@19816 42 *-dev) copy *.h;;
al@19816 43 esac
devl547@5630 44 }