mirror of
https://github.com/novatiq/packages.git
synced 2026-06-22 21:30:27 +01:00
f82287cf5c
For consistency, use full name instead of $(PKG_NAME) in define and eval lines for all packages. I've seen reviews that asked to do this before, and I am asking the same during reviews now. To avoid this in the future, fix this treewide so when people use existing packages as example, we will not have to request this change anymore. This makes all packages consistent with both LEDE and OpenWrt base repositories. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
54 lines
1.2 KiB
Makefile
54 lines
1.2 KiB
Makefile
#
|
|
# Copyright (c) 2016-2017 Dirk Brenken (dev@brenken.org)
|
|
# This is free software, licensed under the GNU General Public License v3.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=travelmate
|
|
PKG_VERSION:=0.4.1
|
|
PKG_RELEASE:=2
|
|
PKG_LICENSE:=GPL-3.0+
|
|
PKG_MAINTAINER:=Dirk Brenken <dev@brenken.org>
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/travelmate
|
|
SECTION:=net
|
|
CATEGORY:=Network
|
|
TITLE:=A wlan connection manager for travel router
|
|
PKGARCH:=all
|
|
endef
|
|
|
|
define Package/travelmate/description
|
|
A wlan connection manager for travel router.
|
|
Please see https://github.com/openwrt/packages/blob/master/net/travelmate/files/README.md for further information.
|
|
|
|
endef
|
|
|
|
define Package/travelmate/conffiles
|
|
/etc/config/travelmate
|
|
endef
|
|
|
|
define Build/Prepare
|
|
endef
|
|
|
|
define Build/Configure
|
|
endef
|
|
|
|
define Build/Compile
|
|
endef
|
|
|
|
define Package/travelmate/install
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
$(INSTALL_BIN) ./files/travelmate.sh $(1)/usr/bin/
|
|
|
|
$(INSTALL_DIR) $(1)/etc/init.d
|
|
$(INSTALL_BIN) ./files/travelmate.init $(1)/etc/init.d/travelmate
|
|
|
|
$(INSTALL_DIR) $(1)/etc/config
|
|
$(INSTALL_CONF) ./files/travelmate.conf $(1)/etc/config/travelmate
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,travelmate))
|