wok-next annotate libdvdread/receipt @ rev 10379
mysql: can't cross (use native)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 23 15:26:14 2011 +0200 (2011-05-23) |
parents | a075ff895254 |
children | bcbb325b65ed |
rev | line source |
---|---|
erjo@621 | 1 # SliTaz package receipt. |
erjo@621 | 2 |
erjo@621 | 3 PACKAGE="libdvdread" |
slaxemulator@10162 | 4 VERSION="4.1.3" |
erjo@621 | 5 CATEGORY="system-tools" |
erjo@621 | 6 SHORT_DESC="Librairy for reading DVDs" |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
slaxemulator@10162 | 8 BUILD_DEPENDS="libdvdcss-dev" |
erjo@621 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@10162 | 10 WEB_SITE="http://www.mplayerhq.hu/MPlayer/releases/dvdnav/" |
slaxemulator@10162 | 11 WGET_URL="${WEB_SITE}${TARBALL}" |
erjo@621 | 12 |
erjo@621 | 13 # Rules to configure and make the package. |
erjo@621 | 14 compile_rules() |
erjo@621 | 15 { |
erjo@621 | 16 cd $src |
slaxemulator@10162 | 17 patch -Np1 -i $stuff/DVDFileStat.patch |
slaxemulator@10162 | 18 ./autogen.sh && make && make install |
erjo@621 | 19 } |
erjo@621 | 20 |
erjo@621 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@621 | 22 genpkg_rules() |
erjo@621 | 23 { |
erjo@621 | 24 mkdir -p $fs/usr/lib |
erjo@621 | 25 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@621 | 26 } |
erjo@621 | 27 |