massive Makefile cleanup, add missing 'svn:keywords' property
git-svn-id: svn://svn.openwrt.org/openwrt/packages@5348 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
|
||||
PKG_NAME:=wifidog
|
||||
PKG_VERSION:=1.1.3_beta2
|
||||
PKG_RELEASE:=1
|
||||
PKG_MD5SUM:=ba1611c7eb959f9c6f93e12b97d70b82
|
||||
|
||||
PKG_SOURCE_URL:= @SF/$(PKG_NAME)
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:= @SF/$(PKG_NAME)
|
||||
PKG_MD5SUM:=ba1611c7eb959f9c6f93e12b97d70b82
|
||||
PKG_CAT:=zcat
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
@ -27,10 +27,11 @@ define Package/wifidog
|
||||
CATEGORY:=Network
|
||||
DEPENDS:=+iptables-mod-extra
|
||||
TITLE:=A wireless captive portal solution
|
||||
DESCRIPTION:=The Wifidog project is a complete and embeddable captive
|
||||
portal solution for wireless community groups or individuals\\\
|
||||
who wish to open a free Hotspot while still preventing abuse\\\
|
||||
of their Internet connection.\\\
|
||||
DESCRIPTION:=\
|
||||
The Wifidog project is a complete and embeddable captive \\\
|
||||
portal solution for wireless community groups or individuals \\\
|
||||
who wish to open a free Hotspot while still preventing abuse \\\
|
||||
of their Internet connection.
|
||||
URL:=http://www.wifidog.org
|
||||
endef
|
||||
|
||||
@ -38,29 +39,25 @@ define Package/wifidog/conffiles
|
||||
/etc/wifidog.conf
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
$(call Build/Configure/Default)
|
||||
endef
|
||||
# uses GNU configure
|
||||
|
||||
define Build/Compile
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
$(TARGET_CONFIGURE_OPTS)
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
install
|
||||
all install
|
||||
endef
|
||||
|
||||
define Package/wifidog/install
|
||||
install -m0755 -d $(1)/etc/init.d
|
||||
install -m0755 ./files/$(PKG_NAME).init $(1)/etc/init.d/wifidog
|
||||
install -m0644 ./files/wifidog.conf $(1)/etc/
|
||||
install -m0755 -d $(1)/usr/bin
|
||||
install -m0755 -d $(1)/usr/lib
|
||||
install -d -m0755 $(1)/usr/bin
|
||||
install -m0755 $(PKG_BUILD_DIR)/scripts/init.d/wifidog $(1)/usr/bin/wifidog-init
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/bin/wifidog $(1)/usr/bin/
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/bin/wdctl $(1)/usr/bin/
|
||||
install -d -m0755 $(1)/usr/lib
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libhttpd.so* $(1)/usr/lib/
|
||||
install -d -m0755 $(1)/etc
|
||||
install -m0644 ./files/wifidog.conf $(1)/etc/
|
||||
install -d -m0755 $(1)/etc/init.d
|
||||
install -m0755 ./files/$(PKG_NAME).init $(1)/etc/init.d/wifidog
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,wifidog))
|
||||
|
Reference in New Issue
Block a user