wok-6.x annotate ucarp/receipt @ rev 15622
network-manager: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 08 13:38:47 2013 +0000 (2013-12-08) |
parents | 039dfd03d1b3 |
children | a31ec0e0df8e |
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@11227 | 10 WEB_SITE="http://www.ucarp.org/project/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 cd $src |
pascal@11227 | 21 sed -i 's/\$(SHELL) @install_sh@/@install_sh@/' po/Makefile.in* |
pascal@11227 | 22 ./configure --prefix=/usr --mandir=/usr/share/man \ |
pascal@11227 | 23 --localstatedir=/var \ |
pascal@11227 | 24 $CONFIGURE_ARGS && |
pascal@11227 | 25 make && |
pascal@15363 | 26 make DESTDIR=$DESTDIR install |
pascal@11227 | 27 } |
pascal@11227 | 28 |
pascal@11227 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11227 | 30 genpkg_rules() |
pascal@11227 | 31 { |
pascal@11227 | 32 mkdir -p $fs/usr |
pascal@15363 | 33 cp -a $install/usr/sbin $fs/usr |
pascal@11227 | 34 } |