New package: rsnapshot-1.3.1 (close #97).
This commit is contained in:
parent
409c8e4270
commit
e5360d71c9
1 changed files with 30 additions and 0 deletions
30
srcpkgs/rsnapshot/template
Normal file
30
srcpkgs/rsnapshot/template
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
# Template file for 'rsnapshot'
|
||||||
|
pkgname=rsnapshot
|
||||||
|
version=1.3.1
|
||||||
|
revision=1
|
||||||
|
build_style=gnu-configure
|
||||||
|
hostmakedepends="perl"
|
||||||
|
makedepends="perl-Lchown rsync openssh"
|
||||||
|
short_desc="A remote filesystem snapshot utility"
|
||||||
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
license="GPL-2"
|
||||||
|
homepage="http://www.rsnapshot.org"
|
||||||
|
distfiles="http://www.rsnapshot.org/downloads/${pkgname}-${version}.tar.gz"
|
||||||
|
checksum=94b6c77e40628935f42a191bdc28ad93b1f132fde456ee76ee87763f1eddc75e
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
sed -i 's:/usr/bin/pod2man:/usr/lib/perl5/core_perl/bin/pod2man:' Makefile
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
mv ${DESTDIR}/etc/rsnapshot.conf.default ${DESTDIR}/etc/rsnapshot.conf
|
||||||
|
}
|
||||||
|
|
||||||
|
rsnapshot_package() {
|
||||||
|
depends="perl perl-Lchown rsync openssh"
|
||||||
|
conf_files="/etc/${pkgname}.conf"
|
||||||
|
noarch="yes"
|
||||||
|
pkg_install() {
|
||||||
|
vmove all
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue