mirror of
				https://github.com/Ysurac/openmptcprouter-feeds.git
				synced 2025-03-09 15:40:03 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			103 lines
		
	
	
	
		
			4.2 KiB
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			103 lines
		
	
	
	
		
			4.2 KiB
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| #
 | |
| # Copyright (C) 2018-2019 Ycarus (Yannick Chabanois) <ycarus@zugaina.org>
 | |
| #
 | |
| # This is free software, licensed under the GNU General Public License v2.
 | |
| # See /LICENSE for more information.
 | |
| #
 | |
| 
 | |
| include $(TOPDIR)/rules.mk
 | |
| 
 | |
| PKG_NAME:=openmptcprouter-full
 | |
| PKG_VERSION:=0.13
 | |
| PKG_RELEASE:=1
 | |
| 
 | |
| include $(INCLUDE_DIR)/package.mk
 | |
| 
 | |
| MY_DEPENDS := \
 | |
|     mptcp       \
 | |
|     unbound-daemon unbound-control \
 | |
|     netifd      \
 | |
|     dsvpn \
 | |
|     mc          \
 | |
|     f2fs-tools \
 | |
|     openmptcprouter \
 | |
|     dnsmasq-full \
 | |
|     uhttpd \
 | |
|     uhttpd-mod-ubus \
 | |
|     curl \
 | |
|     iperf3-ssl luci-app-iperf \
 | |
|     arptables \
 | |
|     bind-dig \
 | |
|     libnetfilter-conntrack ebtables ebtables-utils ip-full \
 | |
|     iptables-mod-iface iptables-mod-ipmark iptables-mod-hashlimit iptables-mod-condition iptables-mod-trace iptables-mod-conntrack-extra iptables-mod-account \
 | |
|     kmod-nf-nat kmod-nf-nathelper kmod-nf-nathelper-extra iptables-mod-extra \
 | |
|     wireless-tools \
 | |
|     libiwinfo-lua \
 | |
|     ca-bundle ca-certificates libustream-openssl \
 | |
|     luci-mod-admin-full luci-app-firewall luci-app-glorytun luci-app-shadowsocks-libev luci-app-unbound luci-theme-openmptcprouter luci-base \
 | |
|     luci-app-nginx-ha luci-app-omr-tracker luci-app-omr-dscp \
 | |
|     luci-app-sqm sqm-scripts-extra \
 | |
|     luci-app-vnstat omr-quota luci-app-omr-quota \
 | |
|     luci-app-mptcp luci-app-openmptcprouter luci-app-omr-bypass luci-app-mail luci-app-upnp \
 | |
|     luci-app-wol luci-app-opkg \
 | |
|     luci-app-uhttpd \
 | |
|     luci-mod-rpc rpcd-mod-rpcsys rpcd-mod-file rpcd-mod-iwinfo \
 | |
|     luci-ssl-openssl \
 | |
|     omr-6in4 ip6tables-mod-nat luci-proto-ipv6 6to4 6in4 6rd iputils-traceroute6 ip6tables \
 | |
|     speedtestc \
 | |
|     iftop \
 | |
|     htop \
 | |
|     tcpdump \
 | |
|     ethtool \
 | |
|     iputils-ping \
 | |
|     tracebox \
 | |
|     luci-proto-3g \
 | |
|     comgt-ncm luci-proto-ncm \
 | |
|     omr-update \
 | |
|     rng-tools \
 | |
|     openvpn-openssl \
 | |
|     mmc-utils \
 | |
|     libimobiledevice \
 | |
|     comgt \
 | |
|     kmod-random-core \
 | |
|     kmod-netem \
 | |
|     ca-bundle openssl-util \
 | |
|     dejavu-fonts-ttf-DejaVuSerif dejavu-fonts-ttf-DejaVuSerif-Bold dejavu-fonts-ttf-DejaVuSerif-Italic dejavu-fonts-ttf-DejaVuSerif-BoldItalic \
 | |
|     luci-app-snmpd \
 | |
|     iputils-tracepath v2ray-plugin netcat adb-enablemodem \
 | |
|     (TARGET_x86||TARGET_x86_64):kmod-iwlwifi iwlwifi-firmware-iwl1000 iwlwifi-firmware-iwl100 iwlwifi-firmware-iwl105 iwlwifi-firmware-iwl135 iwlwifi-firmware-iwl2000 iwlwifi-firmware-iwl2030 iwlwifi-firmware-iwl3160 iwlwifi-firmware-iwl3168 iwlwifi-firmware-iwl5000 iwlwifi-firmware-iwl5150 iwlwifi-firmware-iwl6000g2 iwlwifi-firmware-iwl6000g2a iwlwifi-firmware-iwl6000g2b iwlwifi-firmware-iwl6050 iwlwifi-firmware-iwl7260 iwlwifi-firmware-iwl7265 iwlwifi-firmware-iwl7265d iwlwifi-firmware-iwl8260c iwlwifi-firmware-iwl8265 \
 | |
|     (TARGET_x86||TARGET_x86_64):kmod-e1000 (TARGET_x86||TARGET_x86_64):kmod-e1000e (TARGET_x86||TARGET_x86_64):kmod-igb (TARGET_x86||TARGET_x86_64):kmod-ne2k-pci (TARGET_x86||TARGET_x86_64):kmod-r8169 (TARGET_x86||TARGET_x86_64):kmod-8139too (TARGET_x86||TARGET_x86_64):kmod-bnx2 \
 | |
|     TARGET_mvebu:kmod-mwlwifi TARGET_mvebu:mwlwifi-firmware-88w8864 TARGET_mvebu:mwlwifi-firmware-88w8897 TARGET_mvebu:mwlwifi-firmware-88w8964 TARGET_mvebu:mwlwifi-firmware-88w8997 \
 | |
|     kmod-usb-serial kmod-usb-serial-option kmod-usb-serial-wwan usb-modeswitch uqmi \
 | |
|     umbim kmod-mii kmod-usb-net kmod-usb-wdm kmod-usb-net-qmi-wwan kmod-usb-net-cdc-mbim umbim \
 | |
|     kmod-usb-net-huawei-cdc-ncm kmod-usb-net-rndis kmod-usb-net-cdc-ether kmod-usb-net-ipheth usbmuxd \
 | |
|     kmod-rt2800-usb kmod-rtl8xxxu kmod-rtl8192cu kmod-net-rtl8192su \
 | |
|     luci-proto-qmi wpad-basic kmod-mt7601u kmod-rtl8187
 | |
| 
 | |
| #    (TARGET_x86||TARGET_x86_64):open-vm-tools \
 | |
| #    luci-app-mlvpn mlvpn \
 | |
| #    (!TARGET_mvebu&&!TARGET_mediatek):kmod-fb-tft-all \
 | |
| #    lcd4linux-full
 | |
| #    kmod-spi-gpio-custom 
 | |
| 
 | |
| OMR_SUPPORTED_LANGS := ca zh-cn en fr de el he hu it ja ms no pl pt-br pt ro ru es sv uk vi
 | |
| 
 | |
| define Package/$(PKG_NAME)
 | |
| SECTION:=OMR
 | |
| CATEGORY:=OpenMPTCProuter
 | |
| DEPENDS:=$(foreach p,$(MY_DEPENDS),+$(p)) $(foreach lang,$(OMR_SUPPORTED_LANGS),+LUCI_LANG_$(lang):luci-i18n-base-$(lang))
 | |
| TITLE:=OpenMPTCProuter Full Package
 | |
| endef
 | |
| 
 | |
| define Package/$(PKG_NAME)/description
 | |
| OpenMPTCProuter Full package
 | |
| endef
 | |
| 
 | |
| define Build/Compile
 | |
| endef
 | |
| 
 | |
| define Package/$(PKG_NAME)/install
 | |
| endef
 | |
| 
 | |
| 
 | |
| $(eval $(call BuildPackage,$(PKG_NAME)))
 |