wok-current annotate ucarp/receipt @ rev 12279
arora: improve receipt
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Apr 15 13:59:01 2012 +0200 (2012-04-15) |
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 } |