From 00989db18092da3e0b3f3575797bd3f68efac970 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 9 May 2015 18:10:02 +0200 Subject: [PATCH] beanstalk: renamed to beanstalkd; fixed musl build. --- .../files/beanstalkd/log/run | 0 .../files/beanstalkd/run | 0 srcpkgs/{beanstalk => beanstalkd}/template | 18 ++++++++++-------- 3 files changed, 10 insertions(+), 8 deletions(-) rename srcpkgs/{beanstalk => beanstalkd}/files/beanstalkd/log/run (100%) rename srcpkgs/{beanstalk => beanstalkd}/files/beanstalkd/run (100%) rename srcpkgs/{beanstalk => beanstalkd}/template (51%) diff --git a/srcpkgs/beanstalk/files/beanstalkd/log/run b/srcpkgs/beanstalkd/files/beanstalkd/log/run similarity index 100% rename from srcpkgs/beanstalk/files/beanstalkd/log/run rename to srcpkgs/beanstalkd/files/beanstalkd/log/run diff --git a/srcpkgs/beanstalk/files/beanstalkd/run b/srcpkgs/beanstalkd/files/beanstalkd/run similarity index 100% rename from srcpkgs/beanstalk/files/beanstalkd/run rename to srcpkgs/beanstalkd/files/beanstalkd/run diff --git a/srcpkgs/beanstalk/template b/srcpkgs/beanstalkd/template similarity index 51% rename from srcpkgs/beanstalk/template rename to srcpkgs/beanstalkd/template index e7131a52819..bd8c563a1a2 100644 --- a/srcpkgs/beanstalk/template +++ b/srcpkgs/beanstalkd/template @@ -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 " 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 }