mirror of
https://github.com/openwrt/packages.git
synced 2025-11-05 08:39:44 +00:00
The OpenWrt package will not provide the correct version information but the date of the last git commit in order to ease packaging following the discussions in #27482 and #27614. Co-authored-by: Nora Matthias Schiffer <neocturne@universe-factory.net> Co-authored-by: Moritz Warning <moritzwarning@web.de> Signed-off-by: Jan-Niklas Burfeind <git@aiyionpri.me>
44 lines
1.0 KiB
Makefile
44 lines
1.0 KiB
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=uradvd
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_URL=https://github.com/freifunk-gluon/uradvd.git
|
|
PKG_SOURCE_DATE:=2025-09-20
|
|
PKG_SOURCE_VERSION:=1e64364d323acb8c71285a6fb85d384334e7007d
|
|
PKG_MIRROR_HASH:=06be08eef717540709484a21296735757721180ab566ba21c2958cdc92ea0f85
|
|
|
|
PKG_MAINTAINER:=Moritz Warning <moritzwarning@web.de>
|
|
PKG_LICENSE:=BSD-2-Clause
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/uradvd
|
|
SECTION:=net
|
|
CATEGORY:=Network
|
|
TITLE:=A tiny radvd
|
|
endef
|
|
|
|
define Package/uradvd/description
|
|
Advertise an IPv6 prefix/route via SLAAC.
|
|
endef
|
|
|
|
MAKE_FLAGS += VERSION=$(PKG_SOURCE_DATE)
|
|
|
|
define Package/uradvd/install
|
|
$(INSTALL_DIR) $(1)/etc/config/
|
|
$(INSTALL_CONF) ./files/uradvd.config $(1)/etc/config/uradvd
|
|
$(INSTALL_DIR) $(1)/etc/init.d/
|
|
$(INSTALL_BIN) ./files/uradvd.init $(1)/etc/init.d/uradvd
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/uradvd $(1)/usr/sbin/
|
|
endef
|
|
|
|
define Package/uradvd/conffiles
|
|
/etc/config/uradvd
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,uradvd))
|