wok-undigest annotate ucarp/receipt @ rev 382
Add ucarp
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 20 15:22:08 2011 +0200 (2011-08-20) |
parents | |
children | 5c191a182010 |
rev | line source |
---|---|
pascal@382 | 1 # SliTaz package receipt. |
pascal@382 | 2 |
pascal@382 | 3 PACKAGE="ucarp" |
pascal@382 | 4 VERSION="1.5.1" |
pascal@382 | 5 CATEGORY="network" |
pascal@382 | 6 SHORT_DESC="Portable implementation of the CARP protocol." |
pascal@382 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@382 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@382 | 9 WEB_SITE="http://www.ucarp.org/project/ucarp" |
pascal@382 | 10 WGET_URL="http://download.pureftpd.org/pub/$PACKAGE/$TARBALL" |
pascal@382 | 11 TAGS="High availability HA" |
pascal@382 | 12 |
pascal@382 | 13 # Rules to configure and make the package. |
pascal@382 | 14 compile_rules() |
pascal@382 | 15 { |
pascal@382 | 16 cd $src |
pascal@382 | 17 sed -i 's/\$(SHELL) @install_sh@/@install_sh@/' po/Makefile.in* |
pascal@382 | 18 ./configure --prefix=/usr --mandir=/usr/share/man \ |
pascal@382 | 19 --localstatedir=/var \ |
pascal@382 | 20 $CONFIGURE_ARGS && |
pascal@382 | 21 make && |
pascal@382 | 22 make DESTDIR=$PWD/_pkg install |
pascal@382 | 23 } |
pascal@382 | 24 |
pascal@382 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@382 | 26 genpkg_rules() |
pascal@382 | 27 { |
pascal@382 | 28 mkdir -p $fs/usr |
pascal@382 | 29 cp -a $_pkg/usr/sbin $fs/usr |
pascal@382 | 30 } |