wok annotate ucarp/receipt @ rev 11646

gdal: bump
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Feb 04 01:52:55 2012 +0100 (2012-02-04)
parents 532ab3b57d40
children 2a21689b0af7
rev   line source
pascal@11227 1 # SliTaz package receipt.
pascal@11227 2
pascal@11227 3 PACKAGE="ucarp"
erjo@11638 4 VERSION="1.5.2"
pascal@11227 5 CATEGORY="network"
pascal@11227 6 SHORT_DESC="Portable implementation of the CARP protocol."
pascal@11227 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@11227 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@11227 9 WEB_SITE="http://www.ucarp.org/project/ucarp"
pascal@11227 10 WGET_URL="http://download.pureftpd.org/pub/$PACKAGE/$TARBALL"
pascal@11227 11 TAGS="High availability HA"
pascal@11227 12
pascal@11227 13 BUILD_DEPENDS="libpcap-dev"
pascal@11227 14 DEPENDS="libpcap"
pascal@11227 15
pascal@11227 16 # Rules to configure and make the package.
pascal@11227 17 compile_rules()
pascal@11227 18 {
pascal@11227 19 cd $src
pascal@11227 20 sed -i 's/\$(SHELL) @install_sh@/@install_sh@/' po/Makefile.in*
pascal@11227 21 ./configure --prefix=/usr --mandir=/usr/share/man \
pascal@11227 22 --localstatedir=/var \
pascal@11227 23 $CONFIGURE_ARGS &&
pascal@11227 24 make &&
pascal@11227 25 make DESTDIR=$PWD/_pkg install
pascal@11227 26 }
pascal@11227 27
pascal@11227 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11227 29 genpkg_rules()
pascal@11227 30 {
pascal@11227 31 mkdir -p $fs/usr
pascal@11227 32 cp -a $_pkg/usr/sbin $fs/usr
pascal@11227 33 }