2015-05-09 16:10:02 +00:00
|
|
|
# Template file for 'beanstalkd'
|
|
|
|
pkgname=beanstalkd
|
2015-05-09 14:05:11 +00:00
|
|
|
version=1.10
|
2015-05-09 16:23:51 +00:00
|
|
|
revision=2
|
|
|
|
build_pie=yes
|
2015-05-09 16:10:02 +00:00
|
|
|
short_desc="A simple, fast, general-purpose work queue"
|
2015-05-09 14:05:11 +00:00
|
|
|
maintainer="bougyman <bougyman@voidlinux.eu>"
|
|
|
|
license="MIT"
|
|
|
|
homepage="http://kr.github.io/beanstalkd/"
|
|
|
|
distfiles="https://github.com/kr/beanstalkd/archive/v${version}.tar.gz"
|
|
|
|
checksum=923b1e195e168c2a91adcc75371231c26dcf23868ed3e0403cd4b1d662a52d59
|
|
|
|
system_accounts="beanstalkd"
|
2015-05-09 16:23:51 +00:00
|
|
|
replaces="beanstalk>=0"
|
2015-05-09 14:05:11 +00:00
|
|
|
|
2015-05-09 16:10:02 +00:00
|
|
|
do_build() {
|
|
|
|
sed -i 's,sys/fcntl.h,fcntl.h,' sd-daemon.c
|
|
|
|
make CC=$CC CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" ${makejosbs}
|
|
|
|
}
|
|
|
|
do_install() {
|
|
|
|
make PREFIX=/usr DESTDIR=${DESTDIR} install
|
2015-05-09 16:23:51 +00:00
|
|
|
vman doc/beanstalkd.1
|
2015-05-09 14:05:11 +00:00
|
|
|
vdoc README
|
2015-05-09 16:23:51 +00:00
|
|
|
vdoc doc/protocol.txt
|
|
|
|
vlicense LICENSE
|
2015-05-09 14:05:11 +00:00
|
|
|
vsv beanstalkd
|
|
|
|
}
|