wok-stable view libirman/receipt @ rev 6540

Disable chain-cook & add +build option for genpkg only
author Antoine Bodin <gokhlayeh@mailoo.org>
date Thu Oct 07 02:09:49 2010 +0200 (2010-10-07)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libirman"
4 VERSION="0.4.5"
5 CATEGORY="utilities"
6 SHORT_DESC="Library for Irman."
7 MAINTAINER="rcx@zoominternet.net"
8 DEPENDS="glibc-base"
9 BUILD_DEPENDS="slitaz-toolchain"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.lirc.org/html/install.html"
12 WGET_URL="http://www.lirc.org/software/snapshots/$TARBALL"
13 CONFIG_FILES="/etc/irman.conf"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
20 ./configure \
21 --prefix=/usr \
22 --sysconfdir=/etc \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$src/_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/lib/*.so* $fs/usr/lib
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/etc $fs
35 }