source: packages/net/mini_snmpd/Makefile @ 14314

Last change on this file since 14314 was 14314, checked in by nico, 8 years ago

[packages] add mini_snmpd, an SNMP server for embedded devices

  • Property svn:keywords set to Author Date Id Revision
File size: 917 bytes
Line 
1#
2# Copyright (C) 2009 OpenWrt.orgv
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7# $Id$
8
9include $(TOPDIR)/rules.mk
10
11PKG_NAME:=mini_snmpd
12PKG_RELEASE:=1
13
14PKG_SOURCE:=mini_snmpd.tar.gz
15PKG_SOURCE_URL:=http://members.aon.at/linuxfreak/linux/
16PKG_MD5SUM:=13f2202ff01ff6b6463989f34f453063
17
18include $(INCLUDE_DIR)/package.mk
19
20define Package/mini-snmpd
21  SECTION:=net
22  CATEGORY:=Network
23  TITLE:=SNMP server for embedded systems
24  URL:=http://members.aon.at/linuxfreak/linux/mini_snmpd.html
25endef
26
27
28define Build/Compile
29        $(MAKE) -C $(PKG_BUILD_DIR) \
30                CC="$(TARGET_CC)" \
31                OFLAGS="$(TARGET_CFLAGS)" \
32                STRIP="/bin/true" \
33                INSTALL_ROOT="$(PKG_INSTALL_DIR)" \
34                mini_snmpd install
35endef
36
37define Package/mini-snmpd/install
38        $(INSTALL_DIR) $(1)/sbin
39        $(CP) $(PKG_INSTALL_DIR)/sbin/mini_snmpd $(1)/sbin/
40endef
41
42$(eval $(call BuildPackage,mini-snmpd))
Note: See TracBrowser for help on using the repository browser.