nuke $Id$ in /packages as well
[openwrt/svn-archive/archive.git] / libs / nmeap / Makefile
1 #
2 # Copyright (C) 2007 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:=nmeap
11 PKG_VERSION:=0.3
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/nmeap
16 PKG_MD5SUM:=cbcc9fdf5176f9d6c9e48f27db443c4f
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/libnmeap
21 SECTION:=libs
22 CATEGORY:=Libraries
23 TITLE:=extensible NMEA-0183 parser written in standard C
24 URL:=http://www.dmh2000.com/nmea/nmeap.shtml
25 endef
26
27 define Package/libnmeap/description
28 The NMEAP parser is intended for use in applications that need to input NMEA-0183
29 data from a GPS (typically over a serial port). NMEAP is a linkable library written in portable
30 standard C and is suitable for both desktop and embedded applications.
31 It is licensed under the BSD open source license.
32 endef
33
34 define Build/InstallDev
35 $(INSTALL_DIR) $(1)/usr/include
36 $(CP) $(PKG_BUILD_DIR)/inc/nmeap{,_def}.h $(1)/usr/include/
37 $(INSTALL_DIR) $(1)/usr/lib
38 $(CP) $(PKG_BUILD_DIR)/lib/libnmeap.a $(1)/usr/lib/
39 endef
40
41 $(eval $(call BuildPackage,libnmeap))