wok-4.x view ucarp/receipt @ rev 12416

linux-lxc: add post_install() for update menu.lst
author Stanislas Leduc <shann@slitaz.org>
date Sat Dec 21 07:21:27 2013 +0100 (2013-12-21)
parents 532ab3b57d40
children
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.ucarp.org/project/ucarp"
10 WGET_URL="http://download.pureftpd.org/pub/$PACKAGE/$TARBALL"
11 TAGS="High availability HA"
13 BUILD_DEPENDS="libpcap-dev"
14 DEPENDS="libpcap"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i 's/\$(SHELL) @install_sh@/@install_sh@/' po/Makefile.in*
21 ./configure --prefix=/usr --mandir=/usr/share/man \
22 --localstatedir=/var \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $_pkg/usr/sbin $fs/usr
33 }