lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

Makefile (1405B)


      1 #
      2 # Copyright (C) 2008-2016 OpenWrt.org
      3 #
      4 # This is free software, licensed under the GNU General Public License v2.
      5 # See /LICENSE for more information.
      6 #
      7 
      8 include $(TOPDIR)/rules.mk
      9 
     10 PKG_NAME:=radsecproxy
     11 PKG_VERSION:=1.6.8
     12 PKG_RELEASE:=1
     13 
     14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
     15 PKG_SOURCE_URL:=http://software.uninett.no/radsecproxy/
     16 PKG_MD5SUM:=b868f7faf4887a10376d1bd96ef75368
     17 
     18 PKG_LICENSE:=GPL-2.0+
     19 PKG_LICENSE_FILES:=LICENSE
     20 
     21 PKG_INSTALL:=1
     22 
     23 include $(INCLUDE_DIR)/package.mk
     24 
     25 define Package/radsecproxy
     26   SECTION:=net
     27   CATEGORY:=Network
     28   DEPENDS:=+libopenssl +libpthread
     29   TITLE:=radsecproxy
     30   URL:=http://software.uninett.no/radsecproxy
     31   MAINTAINER:=Toke Høiland-Jørgensen <toke@toke.dk>
     32 endef
     33 
     34 define Package/radsecproxy/description
     35   A generic radius proxy for UDP/TLS (RadSec)
     36 endef
     37 
     38 CONFIGURE_ARGS+= \
     39 	--with-ssl="$(STAGING_DIR)/usr"
     40 
     41 #TARGET_CFLAGS += -ansi
     42 #TARGET_CFLAGS += -std=c99
     43 TARGET_CFLAGS += -Wno-long-long
     44 
     45 
     46 define Package/radsecproxy/install
     47 	$(INSTALL_DIR) $(1)/usr/sbin/
     48 	$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/radsecproxy $(1)/usr/sbin/
     49 	$(INSTALL_DIR) $(1)/etc/config/
     50 	$(INSTALL_DATA) ./files/radsecproxy.conf $(1)/etc/config/radsecproxy
     51 	$(INSTALL_DIR) $(1)/etc/init.d/
     52 	$(INSTALL_BIN) ./files/radsecproxy.init $(1)/etc/init.d/radsecproxy
     53 endef
     54 
     55 define Package/radsecproxy/conffiles
     56 /etc/config/radsecproxy
     57 endef
     58 
     59 $(eval $(call BuildPackage,radsecproxy))
     60