2 # Copyright (C) 2007 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=@SF
/nmeap
17 PKG_MD5SUM
:=cbcc9fdf5176f9d6c9e48f27db443c4f
19 include $(INCLUDE_DIR
)/package.mk
21 define Package
/libnmeap
24 TITLE
:=extensible NMEA-0183 parser written in standard C
25 DESCRIPTION
:=The NMEAP parser is intended for use in applications that need to input NMEA-0183
\\\
26 data from a GPS
(typically over a serial port
). NMEAP is a linkable library written in portable
\\\
27 standard C and is suitable for both desktop and embedded applications.
\\\
28 It is licensed under the BSD open source license.
29 URL
:=http
://www.dmh2000.com
/nmea
/nmeap.shtml
32 define Build
/InstallDev
33 $(INSTALL_DIR
) $(STAGING_DIR
)/usr
/include
34 $(CP
) $(PKG_BUILD_DIR
)/inc
/nmeap
{,_def
}.h
$(STAGING_DIR
)/usr
/include/
35 $(INSTALL_DIR
) $(STAGING_DIR
)/usr
/lib
36 $(CP
) $(PKG_BUILD_DIR
)/lib
/libnmeap.a
$(STAGING_DIR
)/usr
/lib
/
39 define Build
/UninstallDev
40 rm -f
$(STAGING_DIR
)/usr
/include/nmeap
{,_def
}.h \
41 $(STAGING_DIR
)/usr
/lib
/libnmeap.a
44 $(eval
$(call BuildPackage
,libnmeap
))