beanstalk: renamed to beanstalkd; fixed musl build.

This commit is contained in:
Juan RP 2015-05-09 18:10:02 +02:00
parent 8ca073e9d9
commit 00989db180
3 changed files with 10 additions and 8 deletions

View file

@ -1,11 +1,8 @@
# Template file for 'beanstalk'
pkgname=beanstalk
# Template file for 'beanstalkd'
pkgname=beanstalkd
version=1.10
revision=2
build_style=gnu-makefile
wrksrc="beanstalkd-${version}"
only_for_archs="x86_64 i686 armv7hf armv6hf"
short_desc="A simple, fast work queue"
revision=1
short_desc="A simple, fast, general-purpose work queue"
maintainer="bougyman <bougyman@voidlinux.eu>"
license="MIT"
homepage="http://kr.github.io/beanstalkd/"
@ -13,7 +10,12 @@ distfiles="https://github.com/kr/beanstalkd/archive/v${version}.tar.gz"
checksum=923b1e195e168c2a91adcc75371231c26dcf23868ed3e0403cd4b1d662a52d59
system_accounts="beanstalkd"
post_install() {
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
vdoc README
vsv beanstalkd
}