summaryrefslogtreecommitdiffstats
path: root/rsync/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'rsync/Pkgfile')
-rwxr-xr-xrsync/Pkgfile30
1 files changed, 30 insertions, 0 deletions
diff --git a/rsync/Pkgfile b/rsync/Pkgfile
new file mode 100755
index 000000000..918797059
--- /dev/null
+++ b/rsync/Pkgfile
@@ -0,0 +1,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.7
+release=2
+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
+}