blob: 987397a3313405fb9faf6e9d04c037d9355de761 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer:
pkgname=rsnapshot
pkgver=1.3.1
pkgrel=0
pkgdesc="Local and remote filesystem snapshot utility"
url="http://www.rsnapshot.org/"
arch="noarch"
license="GPLv2+"
depends="perl rsync openssh-client"
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc"
source="http://www.rsnapshot.org/downloads/rsnapshot-$pkgver.tar.gz
pod2man.patch
"
_builddir="$srcdir"/rsnapshot-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/lib/*.la
}
md5sums="588f92995dcf60a6ea6df8d94a017e7e rsnapshot-1.3.1.tar.gz
68b98f99b705788362eecd1257909fcb pod2man.patch"
sha256sums="94b6c77e40628935f42a191bdc28ad93b1f132fde456ee76ee87763f1eddc75e rsnapshot-1.3.1.tar.gz
974daf6554c74c70c4b91a9ca38181420d59001b86d1ef63a1ea494615b36d44 pod2man.patch"
sha512sums="a74ad0a21d213dd2e05cb577a47c491af90d8994df8f5a154195515345da438ac9c0d72b563aa02314883a0b3bb86e3c23f8b530a7078c2b55a9547a2d666c10 rsnapshot-1.3.1.tar.gz
1953c8c48bfbc7a0400ae61b616301d176490ef507366f23d8280a620fa9a62d5c67415bd32e978382fc540f09975b115c2a61e3e71cdc9b27fb4227f0923671 pod2man.patch"
|