aboutsummaryrefslogtreecommitdiffstats
path: root/main/rsync/APKBUILD
blob: ca541884242272caa278074f7ed7c79e90839ac1 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=rsync
pkgver=3.0.6
pkgrel=1
pkgdesc="A file transfer program to keep remote files in sync"
url="http://samba.anu.edu.au/rsync/"
license="GPL3"
depends=
source="http://$pkgname.samba.org/ftp/$pkgname/$pkgname-$pkgver.tar.gz
	rsyncd.initd
	rsyncd.confd
	rsyncd.conf
	rsyncd.logrotate
	"
subpackages="$pkgname-doc"

build() { 
	cd "$srcdir/$pkgname-$pkgver"
	./prepare-source || return 1
	./configure --prefix=/usr \
		--with-included-popt \
		--disable-acl-support \
		--disable-xattr-support || return 1
	make || return 1
	make DESTDIR="$pkgdir" install || return 1
	install -D -m 755 ../rsyncd.initd ${pkgdir}/etc/init.d/rsyncd
	install -D -m 644 ../rsyncd.conf ${pkgdir}/etc/rsyncd.conf 
	install -D -m 644 ../rsyncd.confd ${pkgdir}/etc/conf.d/rsyncd
	install -D -m 644 ../rsyncd.logrotate ${pkgdir}/etc/logrotate.d/rsyncd
}

md5sums="e9865d093a18e4668b9d31b635dc8e99  rsync-3.0.6.tar.gz
8c525f7c4222f90b3f01bb7f6a2684ab  rsyncd.initd
e5e62e8cef29e09c22e8ba8152ec1751  rsyncd.confd
a99211a14af1766ba849035241cd5bb2  rsyncd.conf
169cafc6907a4c3787bb0462e9d6a5c2  rsyncd.logrotate"