Skip to content

Commit

Permalink
int
Browse files Browse the repository at this point in the history
  • Loading branch information
kenzok8 committed Nov 28, 2021
1 parent 3381f16 commit a210833
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions shadowsocks-rust/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=shadowsocks-rust
PKG_VERSION:=1.12.3
PKG_RELEASE:=1
PKG_RELEASE:=$(AUTORELEASE)

PKG_SOURCE_HEADER:=shadowsocks-v$(PKG_VERSION)
PKG_SOURCE_BODY:=unknown-linux-musl
Expand All @@ -16,33 +16,33 @@ PKG_SOURCE_URL:=https://github.com/shadowsocks/shadowsocks-rust/releases/downloa

ifeq ($(ARCH),aarch64)
PKG_SOURCE:=$(PKG_SOURCE_HEADER).aarch64-$(PKG_SOURCE_BODY).$(PKG_SOURCE_FOOTER)
PKG_HASH:=a5f94ed2e2ae245be687fc7b7fdc749440f949d5c81de29c8ddf45cb138ce5c7
PKG_HASH:=skip
else ifeq ($(ARCH),arm)
# Referred to golang/golang-values.mk
ARM_CPU_FEATURES:=$(word 2,$(subst +,$(space),$(call qstrip,$(CONFIG_CPU_TYPE))))
ifeq ($(ARM_CPU_FEATURES),)
PKG_SOURCE:=$(PKG_SOURCE_HEADER).arm-$(PKG_SOURCE_BODY)eabi.$(PKG_SOURCE_FOOTER)
PKG_HASH:=9adff4756b7c6efa7226518102691666967c585f90ee66c6a8d1af4bf9e8946c
PKG_HASH:=skip
else
PKG_SOURCE:=$(PKG_SOURCE_HEADER).arm-$(PKG_SOURCE_BODY)eabihf.$(PKG_SOURCE_FOOTER)
PKG_HASH:=826835f0a230efd99de838363f5351409286b3fe6fe7accade2928a13c02869b
PKG_HASH:=skip
endif
else ifeq ($(ARCH),i386)
PKG_SOURCE:=$(PKG_SOURCE_HEADER).i686-$(PKG_SOURCE_BODY).$(PKG_SOURCE_FOOTER)
PKG_HASH:=3773a35ab0ba7f56a8820eb1006ec307d32a8f0fa0d5dfbd71819cb71c22f307
PKG_HASH:=skip
else ifeq ($(ARCH),mips)
PKG_SOURCE:=$(PKG_SOURCE_HEADER).mips-$(PKG_SOURCE_BODY).$(PKG_SOURCE_FOOTER)
PKG_HASH:=1843fb9a9dd68bf949794986c02f5437731a1fe67544a01d2d6283050cbbeb10
PKG_HASH:=skip
else ifeq ($(ARCH),mipsel)
PKG_SOURCE:=$(PKG_SOURCE_HEADER).mipsel-$(PKG_SOURCE_BODY).$(PKG_SOURCE_FOOTER)
PKG_HASH:=00d03511cfc5543e29e1209c814e798346eef2192eeb6f9f3b970d1add88c90a
PKG_HASH:=skip
else ifeq ($(ARCH),x86_64)
PKG_SOURCE:=$(PKG_SOURCE_HEADER).x86_64-$(PKG_SOURCE_BODY).$(PKG_SOURCE_FOOTER)
PKG_HASH:=121efbbb5a6299ceae6d353cf92a94756c80a5d731730dc9581b81ff2d9849d0
PKG_HASH:=skip
# Set the default value to make OpenWrt Package Checker happy
else
PKG_SOURCE:=dummy
PKG_HASH:=dummy
PKG_HASH:=skip
endif

PKG_MAINTAINER:=Tianling Shen <[email protected]>
Expand Down

0 comments on commit a210833

Please sign in to comment.