wok view mjpegtools/receipt @ rev 16573
slitaz-base-files: get ride of /var/run symlink in pre_install
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 02 19:14:33 2014 +0200 (2014-05-02) |
parents | 380ffe05937a |
children | e22141bc1b8a |
line source
1 # SliTaz package receipt.
3 PACKAGE="mjpegtools"
4 VERSION="2.0.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="MPEG manipulation tools."
7 TAGS="mpeg mjpeg video"
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://mjpeg.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/mjpeg/$TARBALL"
14 DEPENDS="libdv expat gtk+ jpeg libsdl libsdl-gfx xorg-libX11 xorg-libXau \
15 xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes \
16 xorg-libXinerama xorg-libXrandr xorg-libXrender xorg-libXdamage gcc-lib-base"
17 BUILD_DEPENDS="$DEPENDS libdv-dev libsdl-gfx-dev jpeg-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure \
24 --prefix=/usr \
25 --mandir=/usr/share/man \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 }