wok-current view ucarp/receipt @ rev 24511

updated eigen (3.3.7 -> 3.4.0)
author Hans-G?nter Theisgen
date Mon Feb 21 09:33:38 2022 +0100 (2022-02-21)
parents a31ec0e0df8e
children 1805f71c5d9f
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="https://github.com/jedisct1/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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i 's/\$(SHELL) @install_sh@/@install_sh@/' po/Makefile.in*
28 ./configure --prefix=/usr --mandir=/usr/share/man \
29 --localstatedir=/var \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 cp -a $install/usr/sbin $fs/usr
40 }