squid: update to 6.11
[feed/packages.git] / net / beanstalkd / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=beanstalkd
4 PKG_VERSION:=1.13
5 PKG_RELEASE:=1
6
7 PKG_SOURCE_URL:=https://github.com/beanstalkd/$(PKG_NAME)/archive/refs/tags
8 PKG_SOURCE_VERSION:=1.13
9
10 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
11 PKG_SOURCE:=$(PKG_NAME)-v$(PKG_SOURCE_VERSION).tar.gz
12 PKG_SOURCE_URL_FILE:=v$(PKG_SOURCE_VERSION).tar.gz
13 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-v$(PKG_VERSION)
14 PKG_HASH:=26292dcdc0a7011d2f8ad968612f2cd8b2ef07687224876015399ae85e9e5263
15
16 PKG_MAINTAINER:=Philip Prindeville <philipp@redfish-solutions.com>
17 PKG_LICENSE:=MIT
18 PKG_LICENSE_FILES:=LICENSE
19 PKG_CPE_ID:=cpe:/a:wildbit:beanstalkd
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/beanstalkd
24 SECTION:=net
25 CATEGORY:=Network
26 TITLE:=Beanstalk
27 endef
28
29 define Package/beanstalkd/description
30 Beanstalk is a simple, fast work queue.
31 endef
32
33 define Build/Configure
34 endef
35
36 define Build/Compile
37 cd $(PKG_BUILD_DIR) && make CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" LDFLAGS="$(TARGET_LDFLAGS)" PREFIX=/usr OS=linux
38 endef
39
40 define Package/beanstalkd/install
41 $(INSTALL_DIR) $(1)/usr/bin
42 $(INSTALL_BIN) $(PKG_BUILD_DIR)/beanstalkd $(1)/usr/bin/beanstalkd
43
44 $(INSTALL_DIR) $(1)/etc/init.d
45 $(INSTALL_BIN) ./files/beanstalkd.init $(1)/etc/init.d/beanstalkd
46 endef
47
48 $(eval $(call BuildPackage,beanstalkd))