wok annotate zvbi/receipt @ rev 8150
emacs-pkg-lua-mode: build without emacs
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Jan 25 21:03:34 2011 +0100 (2011-01-25) |
parents | |
children | 940b5937e496 |
rev | line source |
---|---|
slaxemulator@7455 | 1 # SliTaz package receipt. |
slaxemulator@7455 | 2 |
slaxemulator@7455 | 3 PACKAGE="zvbi" |
slaxemulator@7455 | 4 VERSION="0.2.33" |
slaxemulator@7455 | 5 CATEGORY="multimedia" |
slaxemulator@7455 | 6 SHORT_DESC="VBI capture and decoding library." |
slaxemulator@7455 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@7455 | 8 DEPENDS="libpng xorg-libX11" |
slaxemulator@7455 | 9 BUILD_DEPENDS="libpng-dev xorg-libX11-dev zlib-dev" |
slaxemulator@7455 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@7455 | 11 WEB_SITE="http://zapping.sourceforge.net/cgi-bin/view/ZVBI/WebHome" |
slaxemulator@7455 | 12 WGET_URL="$SF_MIRROR/zapping/$TARBALL" |
slaxemulator@7455 | 13 |
slaxemulator@7455 | 14 # Rules to configure and make the package. |
slaxemulator@7455 | 15 compile_rules() |
slaxemulator@7455 | 16 { |
slaxemulator@7455 | 17 cd $src |
slaxemulator@7455 | 18 patch -Np1 -i ../stuff/fix-includes.patch |
slaxemulator@7455 | 19 ./configure \ |
slaxemulator@7455 | 20 --prefix=/usr \ |
slaxemulator@7455 | 21 --infodir=/usr/share/info \ |
slaxemulator@7455 | 22 --mandir=/usr/share/man \ |
slaxemulator@7455 | 23 --disable-static \ |
slaxemulator@7455 | 24 $CONFIGURE_ARGS && |
slaxemulator@7455 | 25 make && make DESTDIR=$PWD/_pkg install |
slaxemulator@7455 | 26 } |
slaxemulator@7455 | 27 |
slaxemulator@7455 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7455 | 29 genpkg_rules() |
slaxemulator@7455 | 30 { |
slaxemulator@7455 | 31 mkdir -p $fs/usr/lib |
slaxemulator@7455 | 32 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@7455 | 33 cp -a $_pkg/usr/sbin $fs/usr |
slaxemulator@7455 | 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
slaxemulator@7455 | 35 } |
slaxemulator@7455 | 36 |