2 # Copyright (C) 2019-2021 CZ.NIC z.s.p.o. (https://www.nic.cz/)
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE_VERSION
:=$(PKG_VERSION
)
16 PKG_SOURCE_URL
:=https
://github.com
/RIPE-NCC
/ripe-atlas-probe-busybox
17 PKG_MIRROR_HASH
:=db2ffc377d09151f33100ae3f62705a84b5ead468074923db622f0a06966fb1a
19 PKG_MAINTAINER
:=Jan Pavlinec
<jan.pavlinec1@gmail.com
>
20 PKG_LICENSE
:=GPL-2.0
-or-later
21 PKG_LICENSE_FILES
:=LICENSE
26 include $(INCLUDE_DIR
)/package.mk
28 define Package
/atlas-probe
31 TITLE
:=RIPE Atlas probe measurement
32 DEPENDS
:=+librt
+libopenssl
+openssh-client
+sudo
33 USERID
:=atlas
=444:atlas
=444
34 URL
:=https
://atlas.ripe.net
/
37 define Package
/atlas-probe
/description
38 RIPE Atlas is a global
, open
, distributed Internet measurement platform
,
39 consisting of thousands of measurement devices that measure Internet
40 connectivity in real time.
43 TARGET_CFLAGS
+= $(FPIC
)
49 CONFIGURE_PATH
= libevent-2.1
.11-stable
51 TARGET_LDFLAGS
= -L
$(PKG_BUILD_DIR
)/$(CONFIGURE_PATH
)/.libs
55 $(MAKE
) $(PKG_JOBS
) -C
$(PKG_BUILD_DIR
)/$(CONFIGURE_PATH
) \
58 $(MAKE
) $(PKG_JOBS
) -C
$(PKG_BUILD_DIR
) \
62 define Package
/atlas-probe
/install
64 $(MAKE
) $(PKG_JOBS
) -C
$(PKG_BUILD_DIR
) \
65 $(MAKE_FLAGS
) CONFIG_PREFIX
=$(1)/usr
/libexec
/atlas-probe
install
66 $(INSTALL_DIR
) $(1)/usr
/libexec
/atlas-probe
/state
67 echo
$(PKG_VERSION
) > $(1)/usr
/libexec
/atlas-probe
/state
/VERSION
70 $(eval
$(call BuildPackage
,atlas-probe
))