summaryrefslogtreecommitdiffstats
path: root/main/rsync/APKBUILD
blob: 4b0e8f12053ec9830cb699c79be8b48ef3bf22a1 (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=0
pkgdesc="A file transfer program to keep remote files in sync"
url="http://samba.anu.edu.au/rsync/"
license="GPL3"
depends="uclibc"
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
492d13dbba49a9e7c77c89d01b4f617a  rsyncd.initd
e5e62e8cef29e09c22e8ba8152ec1751  rsyncd.confd
a99211a14af1766ba849035241cd5bb2  rsyncd.conf
169cafc6907a4c3787bb0462e9d6a5c2  rsyncd.logrotate"