wok-current annotate urbackup-server/receipt @ rev 19952
Add urbackup
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 08 13:18:44 2017 +0200 (2017-05-08) |
parents | |
children | 781e09fb8b54 |
rev | line source |
---|---|
pascal@19952 | 1 # SliTaz package receipt. |
pascal@19952 | 2 |
pascal@19952 | 3 PACKAGE="urbackup-server" |
pascal@19952 | 4 VERSION="2.1.19" |
pascal@19952 | 5 CATEGORY="network" |
pascal@19952 | 6 SHORT_DESC="An easy to setup Open Source client/server backup system." |
pascal@19952 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@19952 | 8 LICENSE="GPL3" |
pascal@19952 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@19952 | 10 WEB_SITE="https://www.urbackup.org/" |
pascal@19952 | 11 WGET_URL="https://hndl.urbackup.org/Server/$VERSION/$TARBALL" |
pascal@19952 | 12 TAGS="backup" |
pascal@19952 | 13 |
pascal@19952 | 14 DEPENDS="libcurl cryptopp" |
pascal@19952 | 15 BUILD_DEPENDS="curl-dev cryptopp" |
pascal@19952 | 16 |
pascal@19952 | 17 # Rules to configure and make the package. |
pascal@19952 | 18 compile_rules() |
pascal@19952 | 19 { |
pascal@19952 | 20 ./configure --prefix=/usr \ |
pascal@19952 | 21 --localstatedir=/var \ |
pascal@19952 | 22 $CONFIGURE_ARGS && |
pascal@19952 | 23 make && |
pascal@19952 | 24 make DESTDIR=$DESTDIR install |
pascal@19952 | 25 } |
pascal@19952 | 26 |
pascal@19952 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19952 | 28 genpkg_rules() |
pascal@19952 | 29 { |
pascal@19952 | 30 cp -a $install/* $fs |
pascal@19952 | 31 mkdir -p $install/usr/share/man |
pascal@19952 | 32 cp $src/docs/* $install/usr/share/man |
pascal@19952 | 33 } |