From: Christian Marangi Date: Thu, 2 Nov 2023 19:48:03 +0000 (+0100) Subject: privoxy: use PKG_NAME variable instead of hardcoding privoxy X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=8474ab1a288936cbff8f291e05dae793bedb92bb;p=feed%2Fpackages.git privoxy: use PKG_NAME variable instead of hardcoding privoxy Use PKG_NAME in PKG_SOURCE AND PKG_BUILD_DIR instead of hardcoding to privoxy to make the Makefile cleaner. Signed-off-by: Christian Marangi --- diff --git a/net/privoxy/Makefile b/net/privoxy/Makefile index 8ec658cba7..485280964b 100644 --- a/net/privoxy/Makefile +++ b/net/privoxy/Makefile @@ -11,10 +11,10 @@ PKG_NAME:=privoxy PKG_VERSION:=3.0.34 PKG_RELEASE:=1 -PKG_SOURCE:=privoxy-$(PKG_VERSION)-stable-src.tar.gz +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-stable-src.tar.gz PKG_SOURCE_URL:=@SF/ijbswa PKG_HASH:=e6ccbca1656f4e616b4657f8514e33a70f6697e9d7294356577839322a3c5d2c -PKG_BUILD_DIR:=$(BUILD_DIR)/privoxy-$(PKG_VERSION)-stable +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)-stable PKG_FIXUP:=autoreconf PKG_INSTALL:=1