diff --git a/packages/network/libnl/build b/packages/network/libnl/build deleted file mode 100755 index f55d16c9d1..0000000000 --- a/packages/network/libnl/build +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/sh - -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv) -# -# OpenELEC is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 2 of the License, or -# (at your option) any later version. -# -# OpenELEC is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with OpenELEC. If not, see . -################################################################################ - -. config/options $1 - -cd $PKG_BUILD -./configure --host=$TARGET_NAME \ - --build=$HOST_NAME \ - --prefix=/usr \ - --sysconfdir=/etc \ - --enable-static \ - --disable-shared \ - --disable-cli \ - -make V=1 - -$MAKEINSTALL diff --git a/packages/network/libnl/meta b/packages/network/libnl/package.mk similarity index 91% rename from packages/network/libnl/meta rename to packages/network/libnl/package.mk index b26534b9c0..63a9ae8da4 100644 --- a/packages/network/libnl/meta +++ b/packages/network/libnl/package.mk @@ -23,12 +23,14 @@ PKG_ARCH="any" PKG_LICENSE="LGPL" PKG_SITE="http://people.suug.ch/~tgr/libnl/" PKG_URL="http://www.infradead.org/~tgr/libnl/files/$PKG_NAME-$PKG_VERSION.tar.gz" -PKG_DEPENDS="" -PKG_BUILD_DEPENDS="toolchain" +PKG_DEPENDS_TARGET="" +PKG_BUILD_DEPENDS_TARGET="toolchain" PKG_PRIORITY="optional" PKG_SECTION="network" PKG_SHORTDESC="libnl: libnl - netlink library" PKG_LONGDESC="libnl is a library for applications dealing with netlink socket. It provides an easy to use interface for raw netlink message but also netlink family specific APIs." -PKG_IS_ADDON="no" +PKG_IS_ADDON="no" PKG_AUTORECONF="yes" + +PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-shared --disable-cli" diff --git a/packages/network/wpa_supplicant/package.mk b/packages/network/wpa_supplicant/package.mk index a6e1ca723f..d0da9d3a62 100644 --- a/packages/network/wpa_supplicant/package.mk +++ b/packages/network/wpa_supplicant/package.mk @@ -23,7 +23,7 @@ PKG_ARCH="any" PKG_LICENSE="GPL" PKG_SITE="http://hostap.epitest.fi/wpa_supplicant/" PKG_URL="http://hostap.epitest.fi/releases/$PKG_NAME-$PKG_VERSION.tar.gz" -PKG_DEPENDS="dbus openssl" +PKG_DEPENDS="dbus libnl openssl" PKG_BUILD_DEPENDS_TARGET="toolchain dbus libnl openssl" PKG_PRIORITY="optional" PKG_SECTION="network"