1 include $(TOPDIR
)/rules.mk
7 PKG_SOURCE_URL
:=https
://github.com
/beanstalkd
/$(PKG_NAME
)/archive
/refs
/tags
8 PKG_SOURCE_VERSION
:=1.13
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
16 PKG_MAINTAINER
:=Philip Prindeville
<philipp@redfish-solutions.com
>
18 PKG_LICENSE_FILES
:=LICENSE
19 PKG_CPE_ID
:=cpe
:/a
:wildbit
:beanstalkd
21 include $(INCLUDE_DIR
)/package.mk
23 define Package
/beanstalkd
29 define Package
/beanstalkd
/description
30 Beanstalk is a simple
, fast work queue.
33 define Build
/Configure
37 cd
$(PKG_BUILD_DIR
) && make CC
="$(TARGET_CC)" CFLAGS
="$(TARGET_CFLAGS)" LDFLAGS
="$(TARGET_LDFLAGS)" PREFIX
=/usr OS
=linux
40 define Package
/beanstalkd
/install
41 $(INSTALL_DIR
) $(1)/usr
/bin
42 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/beanstalkd
$(1)/usr
/bin
/beanstalkd
44 $(INSTALL_DIR
) $(1)/etc
/init.d
45 $(INSTALL_BIN
) .
/files
/beanstalkd.init
$(1)/etc
/init.d
/beanstalkd
48 $(eval
$(call BuildPackage
,beanstalkd
))