wok annotate keepalived/receipt @ rev 21776

linld: fix strdup
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 11 12:50:44 2019 +0200 (2019-07-11)
parents 3c95fb36898f
children 036ee9f91c9e
rev   line source
pascal@17468 1 # SliTaz package receipt.
pascal@17468 2
pascal@17468 3 PACKAGE="keepalived"
Hans-G?nter@21090 4 VERSION="2.0.13"
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@17468 17 # Rules to configure and make the package.
pascal@17468 18 compile_rules()
pascal@17468 19 {
Hans-G?nter@21090 20 ./configure \
Hans-G?nter@21090 21 --prefix=/usr \
Hans-G?nter@21090 22 --sysconfdir=/etc \
pascal@17468 23 $CONFIGURE_ARGS &&
Hans-G?nter@21090 24 make -j 1 &&
pascal@17468 25 make DESTDIR=$DESTDIR install
pascal@17468 26 }
pascal@17468 27
pascal@17468 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17468 29 genpkg_rules()
pascal@17468 30 {
pascal@17468 31 mkdir -p $fs/usr
Hans-G?nter@21090 32
Hans-G?nter@21090 33 cp -a $install/etc $fs/
Hans-G?nter@21090 34 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21090 35 cp -a $install/usr/sbin $fs/usr
pascal@17468 36 }