1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-24 21:54:36 +02:00

remove ipkg directory, add conffiles, normalize Makefile.

git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3994 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico 2006-06-18 18:10:41 +00:00
parent edc2fa5f2c
commit b7bf0034f4
3 changed files with 30 additions and 27 deletions

View File

@ -16,6 +16,36 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(TOPDIR)/package/rules.mk include $(TOPDIR)/package/rules.mk
define Package/hostapd
SECTION:=net
CATEGORY:=Network
DEPENDS:=+libopenssl
TITLE:=IEEE 802.1x Authenticator
DESCRIPTION:=IEEE 802.1x/WPA/EAP/RADIUS Authenticator
URL:=http://hostap.epitest.fi/
endef
define Package/hostapd/conffiles
/etc/hostapd.conf
endef
define Package/hostapd-mini
$(call Package/hostapd)
TITLE:=IEEE 802.1x Authenticator (WPA-PSK only)
DEPENDS:=
DESCRIPTION:=IEEE 802.1x/WPA/EAP/RADIUS Authenticator (WPA-PSK only)
endef
define Package/hostapd-mini/conffiles
/etc/hostapd.conf
endef
define Package/hostapd-utils
$(call Package/hostapd)
DEPENDS:=@PACKAGE_hostapd||PACKAGE_hostapd-mini
TITLE:=IEEE 802.1x Authenticator (utils)
DESCRIPTION:=IEEE 802.1x/WPA/EAP/RADIUS Authenticator (command line utils)
endef
define Build/ConfigureTarget define Build/ConfigureTarget
$(CP) $(PKG_BUILD_DIR) $(PKG_BUILD_DIR)_$(1) $(CP) $(PKG_BUILD_DIR) $(PKG_BUILD_DIR)_$(1)
@ -73,39 +103,14 @@ define Build/Clean
rm -rf $(PKG_BUILD_DIR)_mini rm -rf $(PKG_BUILD_DIR)_mini
endef endef
define Package/hostapd
SECTION:=net
CATEGORY:=Network
DEPENDS:=+libopenssl
TITLE:=IEEE 802.1x Authenticator
DESCRIPTION:=IEEE 802.1x/WPA/EAP/RADIUS Authenticator
URL:=http://hostap.epitest.fi/
endef
define Package/hostapd-mini
$(call Package/hostapd)
TITLE:=IEEE 802.1x Authenticator (WPA-PSK only)
DEPENDS:=
DESCRIPTION:=IEEE 802.1x/WPA/EAP/RADIUS Authenticator (WPA-PSK only)
endef
define Package/hostapd-utils
$(call Package/hostapd)
DEPENDS:=@PACKAGE_hostapd||PACKAGE_hostapd-mini
TITLE:=IEEE 802.1x Authenticator (utils)
DESCRIPTION:=IEEE 802.1x/WPA/EAP/RADIUS Authenticator (command line utils)
endef
define Package/hostapd-utils/install define Package/hostapd-utils/install
install -m0755 -d $(1)/usr/sbin install -m0755 -d $(1)/usr/sbin
install -m0755 $(PKG_BUILD_DIR)/hostapd_cli $(1)/usr/sbin/ install -m0755 $(PKG_BUILD_DIR)/hostapd_cli $(1)/usr/sbin/
endef endef
$(eval $(call Package/Template,hostapd,default)) $(eval $(call Package/Template,hostapd,default))
$(eval $(call Package/Template,hostapd-mini,mini)) $(eval $(call Package/Template,hostapd-mini,mini))
$(eval $(call BuildPackage,hostapd)) $(eval $(call BuildPackage,hostapd))
$(eval $(call BuildPackage,hostapd-mini)) $(eval $(call BuildPackage,hostapd-mini))
$(eval $(call BuildPackage,hostapd-utils)) $(eval $(call BuildPackage,hostapd-utils))

View File

@ -1 +0,0 @@
/etc/hostapd.conf

View File

@ -1 +0,0 @@
/etc/hostapd.conf