wok view libirman/receipt @ rev 13411
powertop: fix deps, bdeps & genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 01 10:08:31 2012 +0200 (2012-10-01) |
parents | |
children | 4904e3d374a9 |
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 }