wok-6.x annotate libdv/receipt @ rev 17393
opus: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 27 16:05:28 2014 +0100 (2014-11-27) |
parents | d4dd884c80c0 |
children | 65d7d867e0c1 |
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 |