wok-6.x annotate keepalived/receipt @ rev 25266
gdk-pixbuf: added dependency libjpeg
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 15 13:56:48 2022 +0100 (2022-07-15) |
parents | 036ee9f91c9e |
children |
rev | line source |
---|---|
pascal@17468 | 1 # SliTaz package receipt. |
pascal@17468 | 2 |
pascal@17468 | 3 PACKAGE="keepalived" |
Hans-G?nter@22983 | 4 VERSION="2.0.20" |
pascal@17468 | 5 CATEGORY="system-tools" |
pascal@17468 | 6 SHORT_DESC="Routing software for loadbalancing and high-availability." |
pascal@17468 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17468 | 8 LICENSE="GPL2" |
pascal@21278 | 9 WEB_SITE="https://www.keepalived.org/" |
Hans-G?nter@21090 | 10 |
pascal@17468 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@17468 | 12 WGET_URL="${WEB_SITE}software/$TARBALL" |
pascal@17468 | 13 |
Hans-G?nter@21090 | 14 DEPENDS="libnl libssl" |
Hans-G?nter@21090 | 15 BUILD_DEPENDS="glib libnl-dev openssl-dev" |
pascal@17468 | 16 |
pascal@24433 | 17 # What is the latest version available today? |
pascal@24433 | 18 current_version() |
pascal@24433 | 19 { |
pascal@24433 | 20 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24433 | 21 sed '/Release [0-9]/!d;s|.*elease ||;s|<.*||;q' |
pascal@24433 | 22 } |
pascal@24433 | 23 |
pascal@17468 | 24 # Rules to configure and make the package. |
pascal@17468 | 25 compile_rules() |
pascal@17468 | 26 { |
Hans-G?nter@21090 | 27 ./configure \ |
Hans-G?nter@21090 | 28 --prefix=/usr \ |
Hans-G?nter@21090 | 29 --sysconfdir=/etc \ |
pascal@17468 | 30 $CONFIGURE_ARGS && |
Hans-G?nter@21090 | 31 make -j 1 && |
pascal@17468 | 32 make DESTDIR=$DESTDIR install |
pascal@17468 | 33 } |
pascal@17468 | 34 |
pascal@17468 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17468 | 36 genpkg_rules() |
pascal@17468 | 37 { |
pascal@17468 | 38 mkdir -p $fs/usr |
Hans-G?nter@21090 | 39 |
Hans-G?nter@21090 | 40 cp -a $install/etc $fs/ |
Hans-G?nter@21090 | 41 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21090 | 42 cp -a $install/usr/sbin $fs/usr |
pascal@17468 | 43 } |