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
14 PKG_SOURCE
:=ripe-atlas-probe-busybox-
$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=https
://github.com
/RIPE-NCC
/ripe-atlas-probe-busybox
/archive
/v
$(PKG_VERSION
)
16 PKG_HASH
:=e684bf617cdc502c20f97028726a93a4a0d21ad9f618b50eb07f999f1604ae65
18 PKG_BUILD_DIR
:=$(BUILD_DIR
)/ripe-atlas-probe-busybox-
$(PKG_VERSION
)
20 PKG_MAINTAINER
:=Jan Pavlinec
<jan.pavlinec1@gmail.com
>
21 PKG_LICENSE
:=GPL-2.0
-or-later
22 PKG_LICENSE_FILES
:=LICENSE
27 include $(INCLUDE_DIR
)/package.mk
29 define Package
/atlas-probe
32 TITLE
:=RIPE Atlas probe measurement
33 DEPENDS
:=+librt
+libopenssl
+openssh-client
+sudo
34 USERID
:=atlas
=444:atlas
=444
35 URL
:=https
://atlas.ripe.net
/
38 define Package
/atlas-probe
/description
39 RIPE Atlas is a global
, open
, distributed Internet measurement platform
,
40 consisting of thousands of measurement devices that measure Internet
41 connectivity in real time.
44 TARGET_CFLAGS
+= $(FPIC
)
50 CONFIGURE_PATH
= libevent-2.1
.11-stable
52 TARGET_LDFLAGS
= -L
$(PKG_BUILD_DIR
)/$(CONFIGURE_PATH
)/.libs
56 $(MAKE
) $(PKG_JOBS
) -C
$(PKG_BUILD_DIR
)/$(CONFIGURE_PATH
) \
59 $(MAKE
) $(PKG_JOBS
) -C
$(PKG_BUILD_DIR
) \
63 define Package
/atlas-probe
/install
65 $(MAKE
) $(PKG_JOBS
) -C
$(PKG_BUILD_DIR
) \
66 $(MAKE_FLAGS
) CONFIG_PREFIX
=$(1)/usr
/libexec
/atlas-probe
install
67 $(INSTALL_DIR
) $(1)/usr
/libexec
/atlas-probe
/state
68 echo
$(PKG_VERSION
) > $(1)/usr
/libexec
/atlas-probe
/state
/VERSION
71 $(eval
$(call BuildPackage
,atlas-probe
))