wok-next view mjpegtools/receipt @ rev 15603
Use install instead of _pkg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 06 10:39:07 2013 +0000 (2013-12-06) |
parents | 89517f376e5d |
children | 97ac1a0d4e37 |
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 --disable-v4l \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 }