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

Up Cups, cups-dev,php-cups; Improve compile options
author Rohit Joshi <jozee@slitaz.org>
date Thu Nov 26 12:12:54 2009 +0000 (2009-11-26)
parents
children 4904e3d374a9
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"
rcx@3719 8 DEPENDS="glibc-base"
rcx@3719 9 BUILD_DEPENDS="slitaz-toolchain"
rcx@3719 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
rcx@3719 11 WEB_SITE="http://www.lirc.org/html/install.html"
rcx@3719 12 WGET_URL="http://www.lirc.org/software/snapshots/$TARBALL"
rcx@3719 13 CONFIG_FILES="/etc/irman.conf"
rcx@3719 14
rcx@3719 15 # Rules to configure and make the package.
rcx@3719 16 compile_rules()
rcx@3719 17 {
rcx@3719 18 cd $src
rcx@3719 19
rcx@3719 20 ./configure \
rcx@3719 21 --prefix=/usr \
rcx@3719 22 --sysconfdir=/etc \
rcx@3719 23 $CONFIGURE_ARGS &&
rcx@3719 24 make &&
rcx@3719 25 make DESTDIR=$src/_pkg install
rcx@3719 26 }
rcx@3719 27
rcx@3719 28 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3719 29 genpkg_rules()
rcx@3719 30 {
rcx@3719 31 mkdir -p $fs/usr/lib
rcx@3719 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
rcx@3719 33 cp -a $_pkg/usr/bin $fs/usr
rcx@3719 34 cp -a $_pkg/etc $fs
rcx@3719 35 }