blob: cb11737c79585badb6775f3fb49285ce519b7d7b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# $Id$
include $(TOPDIR)/rules.mk
PKG_NAME:=wrt-radauth
PKG_VERSION:=1.0
PKG_RELEASE:=1
PKG_MD5SUM:=f941e3139175dc6b87f6c89ba8848a07
PKG_SOURCE_URL:=http://www.zerfleddert.de/wrt54g/
PKG_SOURCE:=$(PKG_NAME).tar.gz
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
include $(TOPDIR)/package/rules.mk
BR2_PACKAGE_WRT_RADAUTH:=m
$(eval $(call PKG_template,WRT_RADAUTH,wrt-radauth,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured:
touch $@
$(PKG_BUILD_DIR)/.built:
$(MAKE) -C $(PKG_BUILD_DIR) \
CC="$(TARGET_CC)" \
CFLAGS="$(TARGET_CFLAGS)" \
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
clean all
touch $@
$(IPKG_WRT_RADAUTH):
install -d -m0755 $(IDIR_WRT_RADAUTH)/usr/sbin
install -m0755 $(PKG_BUILD_DIR)/radius-client $(IDIR_WRT_RADAUTH)/usr/sbin/
install -m0755 $(PKG_BUILD_DIR)/wrt-radauth $(IDIR_WRT_RADAUTH)/usr/sbin/
$(RSTRIP) $(IDIR_WRT_RADAUTH)
$(IPKG_BUILD) $(IDIR_WRT_RADAUTH) $(PACKAGE_DIR)
|