1 include $(TOPDIR
)/rules.mk
7 # for now, build from latest commit since releases are infrequent and
8 # useful fixes trickle in...
9 PKG_SOURCE_URL
:=https
://github.com
/kr
/beanstalkd.git
10 PKG_SOURCE_VERSION
:=b7b4a6a14b7e8d096dc8cbc255b23be17a228cbb
13 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-v
$(PKG_VERSION
)
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_SOURCE_VERSION
).
tar.xz
15 PKG_MIRROR_HASH
:=6d5155ab347b731640495b1f0df6a4a849e84194d2ef0c2ec6af3879ee1aca2c
16 PKG_SOURCE_SUBDIR
:=$(PKG_NAME
)-v
$(PKG_VERSION
)
17 PKG_HASH
:=6d5155ab347b731640495b1f0df6a4a849e84194d2ef0c2ec6af3879ee1aca2c
19 PKG_MAINTAINER
:=Philip Prindeville
<philipp@redfish-solutions.com
>
21 PKG_LICENSE_FILES
:=LICENSE
23 include $(INCLUDE_DIR
)/package.mk
25 define Package
/beanstalkd
31 define Package
/beanstalkd
/description
32 Beanstalk is a simple
, fast work queue.
35 define Build
/Configure
39 cd
$(PKG_BUILD_DIR
) && make CC
="$(TARGET_CC)" CFLAGS
="$(TARGET_CFLAGS)" LDFLAGS
="$(TARGET_LDFLAGS)" PREFIX
=/usr
42 define Package
/beanstalkd
/install
43 $(INSTALL_DIR
) $(1)/usr
/bin
44 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/beanstalkd
$(1)/usr
/bin
/beanstalkd
46 $(INSTALL_DIR
) $(1)/etc
/init.d
47 $(INSTALL_BIN
) .
/files
/beanstalkd.init
$(1)/etc
/init.d
/beanstalkd
50 $(eval
$(call BuildPackage
,beanstalkd
))