mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-15 20:52:53 +08:00
update 2026-11-11 12:16:13
This commit is contained in:
1 parent
30afd5f00d
commit
dc0eb451d5
19 files changed
+1042
-13
No files matched your search
@@ -7,12 +7,32 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
LUCI_TITLE:=LuCI support for fastnet
|
||||
LUCI_DEPENDS:=+fastnet +luci-lib-linkeaseauth +linkease-app-entry
|
||||
# APK uses -rN; OPKG uses -N for runtime package releases.
|
||||
LUCI_EXTRA_DEPENDS:=fastnet (>=0.8.9-$(if $(CONFIG_USE_APK),r)1)
|
||||
LUCI_PKGARCH:=all
|
||||
PKG_VERSION:=0.8.1-r5
|
||||
PKG_VERSION:=0.8.9-r1
|
||||
PKG_RELEASE:=
|
||||
# Preserve LuCI translation version ordering when upgrading older git-* packages.
|
||||
PKG_PO_VERSION:=git-26.313.00000-082
|
||||
LUCI_MINIFY_CSS:=0
|
||||
LUCI_MINIFY_JS:=0
|
||||
|
||||
define Package/luci-app-fastnet/postinst
|
||||
#!/bin/sh
|
||||
set -e
|
||||
"$${IPKG_INSTROOT}/usr/libexec/fastnet-card-register" install
|
||||
if [ -z "$${IPKG_INSTROOT}" ]; then
|
||||
rm -f /tmp/luci-indexcache /tmp/luci-indexcache.*
|
||||
rm -rf /tmp/luci-modulecache/
|
||||
killall -HUP rpcd 2>/dev/null || true
|
||||
fi
|
||||
endef
|
||||
|
||||
define Package/luci-app-fastnet/prerm
|
||||
#!/bin/sh
|
||||
"$${IPKG_INSTROOT}/usr/libexec/fastnet-card-register" remove
|
||||
endef
|
||||
|
||||
include $(TOPDIR)/feeds/luci/luci.mk
|
||||
|
||||
# call BuildPackage - OpenWrt buildroot signature
|
||||
Reference in new issue
Block a user