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