diff options
author | tnut <thierryn1 at hispeed dot ch> | 2011-02-16 08:42:42 +0100 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2011-02-16 08:42:42 +0100 |
commit | 70f0371ab19ca921288bc5fd9262f746afb2bdb6 (patch) | |
tree | 73b366a214c4c97736cede6010f44c63d6f2b661 /base/rsync/Pkgfile | |
parent | 3991823309439e339648dab4ca3da1fb3967165d (diff) | |
download | nutyx-pakxe-70f0371ab19ca921288bc5fd9262f746afb2bdb6.tar.gz nutyx-pakxe-70f0371ab19ca921288bc5fd9262f746afb2bdb6.tar.bz2 nutyx-pakxe-70f0371ab19ca921288bc5fd9262f746afb2bdb6.tar.xz nutyx-pakxe-70f0371ab19ca921288bc5fd9262f746afb2bdb6.zip |
rsync, maj 3.07-1, ajout du filtre
Diffstat (limited to 'base/rsync/Pkgfile')
-rwxr-xr-x | base/rsync/Pkgfile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/base/rsync/Pkgfile b/base/rsync/Pkgfile index a670d60cb..918797059 100755 --- a/base/rsync/Pkgfile +++ b/base/rsync/Pkgfile @@ -6,7 +6,7 @@ name=rsync version=3.0.7 -release=1 +release=2 source=( http://rsync.samba.org/ftp/$name/$name-$version.tar.gz\ rsync.driver) @@ -19,5 +19,12 @@ build() { 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 } |