wok-6.x view zvbi/receipt @ rev 7674

Fixed linux. Need to make folder PWD/_pkg before adding bzImage to it. Also i'm force copying kernel config file now so we have the right config. It is copyed twice so its needed and doesn't hunt anything i think.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Dec 16 17:16:06 2010 +0000 (2010-12-16)
parents
children 940b5937e496
line source
1 # SliTaz package receipt.
3 PACKAGE="zvbi"
4 VERSION="0.2.33"
5 CATEGORY="multimedia"
6 SHORT_DESC="VBI capture and decoding library."
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="libpng xorg-libX11"
9 BUILD_DEPENDS="libpng-dev xorg-libX11-dev zlib-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://zapping.sourceforge.net/cgi-bin/view/ZVBI/WebHome"
12 WGET_URL="$SF_MIRROR/zapping/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 patch -Np1 -i ../stuff/fix-includes.patch
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 --disable-static \
24 $CONFIGURE_ARGS &&
25 make && make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/sbin $fs/usr
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 }