wok-next annotate libdv/receipt @ rev 15629
xine-plugin: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 09 08:26:16 2013 +0000 (2013-12-09) |
parents | d4dd884c80c0 |
children | fb478984fbc8 |
rev | line source |
---|---|
pankso@295 | 1 # SliTaz package receipt. |
pankso@295 | 2 |
pankso@295 | 3 PACKAGE="libdv" |
pankso@295 | 4 VERSION="1.0.0" |
pankso@295 | 5 CATEGORY="multimedia" |
pankso@295 | 6 SHORT_DESC="Software codec for DV video." |
pankso@295 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15472 | 8 LICENSE="LGPL2.1" |
pankso@295 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@295 | 10 WEB_SITE="http://libdv.sourceforge.net/" |
pankso@295 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@295 | 12 |
pankso@9794 | 13 DEPENDS="popt xorg-libXv" |
pankso@9794 | 14 BUILD_DEPENDS="gtk+-dev popt-dev xorg-libXv-dev" |
pankso@9794 | 15 |
pankso@295 | 16 # Rules to configure and make the package. |
pankso@295 | 17 compile_rules() |
pankso@295 | 18 { |
pankso@295 | 19 cd $src |
pankso@295 | 20 ./configure \ |
pankso@295 | 21 --prefix=/usr \ |
pankso@295 | 22 --mandir=/usr/share/man \ |
pankso@295 | 23 $CONFIGURE_ARGS |
pankso@295 | 24 make |
pascal@15472 | 25 make DESTDIR=$DESTDIR install |
pankso@295 | 26 } |
pankso@295 | 27 |
pankso@295 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@295 | 29 genpkg_rules() |
pankso@295 | 30 { |
pankso@295 | 31 mkdir -p $fs/usr/lib |
pascal@15472 | 32 cp -a $install/usr/bin $fs/usr |
pascal@15472 | 33 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@295 | 34 } |
pankso@295 | 35 |