wok-current view ucarp/receipt @ rev 17324

Add e2tools
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 04 19:06:05 2014 +0100 (2014-11-04)
parents 039dfd03d1b3
children a31ec0e0df8e
line source
1 # SliTaz package receipt.
3 PACKAGE="ucarp"
4 VERSION="1.5.2"
5 CATEGORY="network"
6 SHORT_DESC="Portable implementation of the CARP protocol."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.ucarp.org/project/ucarp"
11 WGET_URL="http://download.pureftpd.org/pub/$PACKAGE/$TARBALL"
12 TAGS="High availability HA"
14 BUILD_DEPENDS="libpcap-dev"
15 DEPENDS="libpcap"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 sed -i 's/\$(SHELL) @install_sh@/@install_sh@/' po/Makefile.in*
22 ./configure --prefix=/usr --mandir=/usr/share/man \
23 --localstatedir=/var \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $install/usr/sbin $fs/usr
34 }