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