wok annotate mjpegtools/receipt @ rev 18651
Add libtkimg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 02 13:32:37 2015 +0100 (2015-12-02) |
parents | 380ffe05937a |
children | e22141bc1b8a |
rev | line source |
---|---|
pankso@294 | 1 # SliTaz package receipt. |
pankso@294 | 2 |
pankso@294 | 3 PACKAGE="mjpegtools" |
slaxemulator@12358 | 4 VERSION="2.0.0" |
pankso@294 | 5 CATEGORY="multimedia" |
pankso@294 | 6 SHORT_DESC="MPEG manipulation tools." |
pankso@3347 | 7 TAGS="mpeg mjpeg video" |
pascal@15000 | 8 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 9 LICENSE="GPL2" |
pascal@15000 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@15000 | 11 WEB_SITE="http://mjpeg.sourceforge.net/" |
pascal@15000 | 12 WGET_URL="$SF_MIRROR/mjpeg/$TARBALL" |
pascal@15000 | 13 |
pankso@3425 | 14 DEPENDS="libdv expat gtk+ jpeg libsdl libsdl-gfx xorg-libX11 xorg-libXau \ |
pankso@3347 | 15 xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes \ |
pascal@5004 | 16 xorg-libXinerama xorg-libXrandr xorg-libXrender xorg-libXdamage gcc-lib-base" |
pascal@12394 | 17 BUILD_DEPENDS="$DEPENDS libdv-dev libsdl-gfx-dev jpeg-dev" |
pankso@294 | 18 |
pankso@294 | 19 # Rules to configure and make the package. |
pankso@294 | 20 compile_rules() |
pankso@294 | 21 { |
pankso@294 | 22 cd $src |
pankso@294 | 23 ./configure \ |
pankso@294 | 24 --prefix=/usr \ |
pankso@294 | 25 --mandir=/usr/share/man \ |
pascal@1491 | 26 $CONFIGURE_ARGS && |
pascal@1491 | 27 make && |
slaxemulator@12358 | 28 make DESTDIR=$DESTDIR install |
pankso@294 | 29 } |
pankso@294 | 30 |
pankso@294 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@294 | 32 genpkg_rules() |
pankso@294 | 33 { |
pankso@294 | 34 mkdir -p $fs/usr/lib |
pascal@15000 | 35 cp -a $install/usr/bin $fs/usr |
pascal@15000 | 36 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@294 | 37 } |
pankso@294 | 38 |