diff options
Diffstat (limited to 'main/rsync/APKBUILD')
-rw-r--r-- | main/rsync/APKBUILD | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/main/rsync/APKBUILD b/main/rsync/APKBUILD index ed226d7c35..858a7f6018 100644 --- a/main/rsync/APKBUILD +++ b/main/rsync/APKBUILD @@ -16,10 +16,20 @@ source="http://$pkgname.samba.org/ftp/$pkgname/$pkgname-$pkgver.tar.gz " subpackages="$pkgname-doc" -build() { - cd "$srcdir/$pkgname-$pkgver" +_builddir="$srcdir/$pkgname-$pkgver" + +prepare() { + cd "$_builddir" ./prepare-source || return 1 - ./configure --prefix=/usr || return 1 +} + +build() { + cd "$_builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } |