wok-stable annotate libdvdcss/receipt @ rev 10772
Trying to make a tazdev-like receip with source from slitaz-dev-tools, in order to get yaff cooked properly
author | Babaorum |
---|---|
date | Tue May 31 21:49:58 2011 +0100 (2011-05-31) |
parents | a075ff895254 |
children |
rev | line source |
---|---|
erjo@621 | 1 # SliTaz package receipt. |
erjo@621 | 2 |
erjo@621 | 3 PACKAGE="libdvdcss" |
slaxemulator@6208 | 4 VERSION="1.2.10" |
erjo@621 | 5 CATEGORY="system-tools" |
erjo@621 | 6 SHORT_DESC="Accessing DVDs like a block device." |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@621 | 8 DEPENDS="" |
erjo@621 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@621 | 10 WEB_SITE="http://www.videolan.org/developers/libdvdcss.html" |
erjo@621 | 11 WGET_URL="http://download.videolan.org/pub/videolan/libdvdcss/$VERSION/$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 |
erjo@621 | 17 ./configure --prefix=/usr $CONFIGURE_ARGS |
erjo@621 | 18 make |
erjo@621 | 19 make DESTDIR=$PWD/_pkg install |
erjo@621 | 20 } |
erjo@621 | 21 |
erjo@621 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@621 | 23 genpkg_rules() |
erjo@621 | 24 { |
erjo@621 | 25 mkdir -p $fs/usr/lib |
erjo@621 | 26 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@621 | 27 } |
erjo@621 | 28 |