wok-next annotate libdv/receipt @ rev 1833
php-*: fix post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 10 17:20:52 2008 +0000 (2008-12-10) |
parents | |
children | f3364f01f797 |
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" |
pankso@295 | 8 DEPENDS="popt" |
pankso@295 | 9 BUILD_DEPENDS="popt-dev" |
pankso@295 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@295 | 11 WEB_SITE="http://libdv.sourceforge.net/" |
pankso@295 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@295 | 13 |
pankso@295 | 14 # Rules to configure and make the package. |
pankso@295 | 15 compile_rules() |
pankso@295 | 16 { |
pankso@295 | 17 cd $src |
pankso@295 | 18 ./configure \ |
pankso@295 | 19 --prefix=/usr \ |
pankso@295 | 20 --mandir=/usr/share/man \ |
pankso@295 | 21 $CONFIGURE_ARGS |
pankso@295 | 22 make |
pankso@295 | 23 make DESTDIR=$PWD/_pkg install |
pankso@295 | 24 } |
pankso@295 | 25 |
pankso@295 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@295 | 27 genpkg_rules() |
pankso@295 | 28 { |
pankso@295 | 29 mkdir -p $fs/usr/lib |
pankso@295 | 30 cp -a $_pkg/usr/bin $fs/usr |
pankso@295 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@295 | 32 } |
pankso@295 | 33 |