2 # Copyright (C) 2014 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
13 PKG_SOURCE_URL
=$(PROJECT_GIT
)/project
/ugps.git
15 PKG_SOURCE_DATE
:=2021-06-08
16 PKG_SOURCE_VERSION
:=5e88403fc0d39ae8a270d2c6c6e9c8a4d5232cf3
17 PKG_MIRROR_HASH
:=a3dfc2cc6def3b634d8b7cda9139926be3d876cf2faa5251c4821987954442a5
19 PKG_MAINTAINER
:=John Crispin
<john@phrozen.org
>
22 include $(INCLUDE_DIR
)/package.mk
23 include $(INCLUDE_DIR
)/cmake.mk
28 TITLE
:=OpenWrt GPS Daemon
29 DEPENDS
:=+libubox
+libubus
32 TARGET_CFLAGS
+= -I
$(STAGING_DIR
)/usr
/include
34 define Package
/ugps
/conffiles
38 define Package
/ugps
/install
39 $(INSTALL_DIR
) $(1)/usr
/sbin
$(1)/etc
/init.d
$(1)/etc
/config
40 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/ugps
$(1)/usr
/sbin
/
41 $(INSTALL_BIN
) .
/files
/ugps.init
$(1)/etc
/init.d
/ugps
42 $(INSTALL_CONF
) .
/files
/gps.config
$(1)/etc
/config
/gps
45 $(eval
$(call BuildPackage
,ugps
))