diff options
Diffstat (limited to 'testing/tcpreplay/APKBUILD')
-rw-r--r-- | testing/tcpreplay/APKBUILD | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/testing/tcpreplay/APKBUILD b/testing/tcpreplay/APKBUILD index 98d9cfad5e..2d69f5d8da 100644 --- a/testing/tcpreplay/APKBUILD +++ b/testing/tcpreplay/APKBUILD @@ -15,20 +15,15 @@ subpackages="$pkgname-doc" source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz musl-socklen_t.patch " -_builddir="$srcdir"/$pkgname-$pkgver +builddir="$srcdir"/$pkgname-$pkgver prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done + default_prepare || return 1 + update_config_guess || return 1 } build() { - cd "$_builddir" + cd "$builddir" ./configure \ --prefix=/usr \ --sysconfdir=/etc \ @@ -43,7 +38,7 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } |