wok-6.x annotate ucarp/receipt @ rev 23058
Up claws-mail-perl (3.17.5)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 07 17:11:49 2020 +0100 (2020-03-07) |
parents | 2a21689b0af7 |
children | 934055de50e2 |
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@15363 | 8 LICENSE="BSD" |
pascal@11227 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@22312 | 10 WEB_SITE="https://github.com/jedisct1/UCarp" |
pascal@11227 | 11 WGET_URL="http://download.pureftpd.org/pub/$PACKAGE/$TARBALL" |
pascal@11227 | 12 TAGS="High availability HA" |
pascal@11227 | 13 |
pascal@11227 | 14 BUILD_DEPENDS="libpcap-dev" |
pascal@11227 | 15 DEPENDS="libpcap" |
pascal@11227 | 16 |
pascal@11227 | 17 # Rules to configure and make the package. |
pascal@11227 | 18 compile_rules() |
pascal@11227 | 19 { |
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@15363 | 25 make DESTDIR=$DESTDIR 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@15363 | 32 cp -a $install/usr/sbin $fs/usr |
pascal@11227 | 33 } |