wok-6.x annotate lsdvd/receipt @ rev 1544
smbwebclient: exit on wget error
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 11 14:07:18 2008 +0000 (2008-10-11) |
parents | 6a9428a46323 |
children | 65d3dfc87776 |
rev | line source |
---|---|
erjo@621 | 1 # SliTaz package receipt. |
erjo@621 | 2 |
erjo@621 | 3 PACKAGE="lsdvd" |
erjo@621 | 4 VERSION="0.16" |
erjo@621 | 5 CATEGORY="system-tools" |
erjo@621 | 6 SHORT_DESC="A console application that displays the content of a DVD." |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@621 | 8 DEPENDS="libdvdread" |
erjo@621 | 9 BUILD_DEPENDS="libdvdread-dev" |
erjo@621 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@621 | 11 WEB_SITE="http://untrepid.com/acidrip/lsdvd.html" |
erjo@621 | 12 WGET_URL="http://heanet.dl.sourceforge.net/sourceforge/lsdvd/$TARBALL |
erjo@621 | 13 http://puzzle.dl.sourceforge.net/sourceforge/lsdvd/$TARBALL" |
erjo@621 | 14 |
erjo@621 | 15 # Rules to configure and make the package. |
erjo@621 | 16 compile_rules() |
erjo@621 | 17 { |
erjo@621 | 18 cd $src |
erjo@621 | 19 patch -p1 -i ../stuff/lsdvd-0.16-configure.patch |
erjo@621 | 20 ./configure --prefix=/usr $CONFIGURE_ARGS |
erjo@621 | 21 make |
erjo@621 | 22 make DESTDIR=$PWD/_pkg install |
erjo@621 | 23 } |
erjo@621 | 24 |
erjo@621 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@621 | 26 genpkg_rules() |
erjo@621 | 27 { |
erjo@621 | 28 mkdir -p $fs/usr |
erjo@621 | 29 cp -a $_pkg/usr/bin $fs/usr |
erjo@621 | 30 strip -s $fs/usr/bin/* |
erjo@621 | 31 } |
erjo@621 | 32 |