diff options
Diffstat (limited to 'system/net-tools')
-rw-r--r-- | system/net-tools/APKBUILD | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/system/net-tools/APKBUILD b/system/net-tools/APKBUILD index cb4f91add..cb33d5c48 100644 --- a/system/net-tools/APKBUILD +++ b/system/net-tools/APKBUILD @@ -7,21 +7,19 @@ pkgrel=3 pkgdesc="Linux networking base tools" url="https://sourceforge.net/projects/net-tools/" arch="all" +options="!check" # there is no testsuite for this package license="GPL-2.0+" depends="mii-tool" depends_dev="" makedepends="$depends_dev bash linux-headers" -options="!check" # there is no testsuite for this package -install="" subpackages="$pkgname-doc $pkgname-lang $pkgname-dbg mii-tool:mii_tool" source="https://downloads.sourceforge.net/project/$pkgname/$pkgname-$_ver.tar.bz2 git.patch musl-fixes.patch " - builddir="$srcdir"/$pkgname-$_ver + prepare() { - cd "$builddir" default_prepare cat > config.make <<EOF I18N=1 @@ -67,18 +65,16 @@ EOF } build() { - cd "$builddir" make } package() { - cd "$builddir" make DESTDIR="$pkgdir" install } mii_tool() { - pkgdesc="media-independent interface (MII) tool" - depends= + pkgdesc="Media-Independent Interface (MII) tool" + depends="" mkdir -p "$subpkgdir"/sbin mv "$pkgdir"/sbin/mii-tool "$subpkgdir"/sbin/ } |