wok-6.x annotate libirman/receipt @ rev 15355

notecase: add CFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 30 20:23:31 2013 +0000 (2013-09-30)
parents 5c6c9ee5f21e
children c32b9127bdcd
rev   line source
rcx@3719 1 # SliTaz package receipt.
rcx@3719 2
rcx@3719 3 PACKAGE="libirman"
rcx@3719 4 VERSION="0.4.5"
rcx@3719 5 CATEGORY="utilities"
rcx@3719 6 SHORT_DESC="Library for Irman."
rcx@3719 7 MAINTAINER="rcx@zoominternet.net"
pascal@14714 8 LICENSE="GPL2"
rcx@3719 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
rcx@3719 10 WEB_SITE="http://www.lirc.org/html/install.html"
rcx@3719 11 WGET_URL="http://www.lirc.org/software/snapshots/$TARBALL"
rcx@3719 12 CONFIG_FILES="/etc/irman.conf"
rcx@3719 13
pascal@14714 14 DEPENDS="glibc-base"
pascal@14714 15 BUILD_DEPENDS="slitaz-toolchain"
pascal@14714 16
rcx@3719 17 # Rules to configure and make the package.
rcx@3719 18 compile_rules()
rcx@3719 19 {
rcx@3719 20 cd $src
rcx@3719 21
rcx@3719 22 ./configure \
rcx@3719 23 --prefix=/usr \
rcx@3719 24 --sysconfdir=/etc \
rcx@3719 25 $CONFIGURE_ARGS &&
rcx@3719 26 make &&
pascal@14714 27 make DESTDIR=$DESTDIR install
rcx@3719 28 }
rcx@3719 29
rcx@3719 30 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3719 31 genpkg_rules()
rcx@3719 32 {
rcx@3719 33 mkdir -p $fs/usr/lib
pascal@14714 34 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@14714 35 cp -a $install/usr/bin $fs/usr
pascal@14714 36 cp -a $install/etc $fs
rcx@3719 37 }