nuke $Id$ in /packages as well
[openwrt/svn-archive/archive.git] / net / mini_snmpd / Makefile
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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=mini_snmpd
11 PKG_RELEASE:=1
12
13 PKG_SOURCE:=mini_snmpd.tar.gz
14 PKG_SOURCE_URL:=http://members.aon.at/linuxfreak/linux/
15 PKG_MD5SUM:=13f2202ff01ff6b6463989f34f453063
16
17 include $(INCLUDE_DIR)/package.mk
18
19 define Package/mini-snmpd
20 SECTION:=net
21 CATEGORY:=Network
22 TITLE:=SNMP server for embedded systems
23 URL:=http://members.aon.at/linuxfreak/linux/mini_snmpd.html
24 endef
25
26
27 define Build/Compile
28 $(MAKE) -C $(PKG_BUILD_DIR) \
29 CC="$(TARGET_CC)" \
30 OFLAGS="$(TARGET_CFLAGS)" \
31 STRIP="/bin/true" \
32 INSTALL_ROOT="$(PKG_INSTALL_DIR)" \
33 mini_snmpd install
34 endef
35
36 define Package/mini-snmpd/install
37 $(INSTALL_DIR) $(1)/sbin
38 $(CP) $(PKG_INSTALL_DIR)/sbin/mini_snmpd $(1)/sbin/
39 endef
40
41 $(eval $(call BuildPackage,mini-snmpd))