wok-current annotate lsdvd/receipt @ rev 2636
Up: slitaz-base-files (change release string) + slitaz-doc for 2.0
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Apr 16 19:59:30 2009 +0200 (2009-04-16) |
parents | a075ff895254 |
children | 02bbaa9d12ba |
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 |
pascal@1553 | 19 [ -f done.lsdvd-0.16-configure.patch ] || |
pascal@1553 | 20 patch -p1 -i ../stuff/lsdvd-0.16-configure.patch |
pascal@1553 | 21 touch done.lsdvd-0.16-configure.patch |
pascal@1553 | 22 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@1553 | 23 make && |
erjo@621 | 24 make DESTDIR=$PWD/_pkg install |
erjo@621 | 25 } |
erjo@621 | 26 |
erjo@621 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@621 | 28 genpkg_rules() |
erjo@621 | 29 { |
erjo@621 | 30 mkdir -p $fs/usr |
erjo@621 | 31 cp -a $_pkg/usr/bin $fs/usr |
erjo@621 | 32 strip -s $fs/usr/bin/* |
erjo@621 | 33 } |
erjo@621 | 34 |