wok view ucarp/receipt @ rev 21709

ccid: update genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 08 10:39:23 2019 +0200 (2019-06-08)
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 }