blob: 0dc1c503f35829bb0f3098b31f0532a8d8f5e453 (
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
|
# Description: Protocol de synchronisation de fichiers très efficace
# URL: http://samba.anu.edu.au/rsync/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on:
name=rsync
version=3.0.9
release=1
source=(http://rsync.samba.org/ftp/$name/$name-$version.tar.gz
rsync.driver)
build() {
cd $name-$version
./configure --prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info
make
make DESTDIR=$PKG install
install -d $PKG/etc/ports/drivers
case `uname -m` in
i?86)
sed -i "s/ARCH/x86_64/g" $SRC/rsync.driver;;
x86_64)
sed -i "s/ARCH/i686/g" $SRC/rsync.driver;;
esac
install -m 755 $SRC/rsync.driver $PKG/etc/ports/drivers/rsync
}
|