X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id 0FB2EDC01FC for ; Sat, 23 Jan 2016 21:37:59 +0000 (UTC) Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com [209.85.217.180]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 9A8EBDC00AC for ; Sat, 23 Jan 2016 21:37:58 +0000 (UTC) Received: by mail-lb0-f180.google.com with SMTP id bc4so57283000lbc.2 for ; Sat, 23 Jan 2016 13:37:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=v1/5YcpK0tg7EMCncFZZbZbBkQ6kPfHYW0VgxJ8d0II=; b=QiEEr4bzvXFBwR1e4GH0dXmotdJsKDIPsk6Mr7UCww/n25FykjJt69rWCuWERGbJk0 4CrypOVFfHhg7BBfbzfJB4FvcpOjkt3KKEQLjg73yOTE8KEa7fpNb65kWxTwJvisdPsP JzDAjno4DLLBZQuKvbI23b2XVBm4tNQxZblhANRLomwAP2DIBo+m+DrzB3nC5F5xLY+M fA4VNuSWf2f2CGG4xeVR64G4/gBMpKfoEqa1bRA/jbIQc2X43XrTf2wF8qPnuOYxjE0c q5amfJacoQBbpCi62BeHu3G6usRIPHuecwLjI6P/S8getCgE3eSPSz44/ZylZz51lJ3v Yi6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :in-reply-to:references:mime-version:content-type :content-transfer-encoding; bh=v1/5YcpK0tg7EMCncFZZbZbBkQ6kPfHYW0VgxJ8d0II=; b=MkUTcfR8UkxjtbaqvIpQLT9e0BqKermB9TCsWav3VXy7MN28u93gdLoFtyFGO5oiEM bhUKPh+mJ2HzCGNme65wcbxQrcC9ZiH4DfyM2PjUEgyrXnLg79bSc8kB0Q7ameTsbgtD Q+JTNthvwelhIh6rPD1V45Xfwbf2vuwSUpiGbwbXc4OxawKWnT9Pvy4AbLDfm95aSilp 6qlYrxFpUoIkhRkYcGJuWPgLNi+IA6PyvblQrBnWXmGMoNaobSBrQOM2vjCGY5hbaSMh QZ+pc1ep6Hb+bEskggHRaPFTzDkKK4XgMUB/4eLfJ3wausV5JHVk56vhLhHmfCX+Qy5d DLfA== X-Gm-Message-State: AG10YOSdk7kbvhQNEKTJnfuyQ6YahPX6c6FZjzU6O4MCH77zShJdA9ZMkxAwEif2hBgxKQ== X-Received: by 10.112.171.4 with SMTP id aq4mr3617500lbc.85.1453585076586; Sat, 23 Jan 2016 13:37:56 -0800 (PST) Received: from vostro ([2001:1bc8:101:f402:21a:9fff:fe0c:4022]) by smtp.gmail.com with ESMTPSA id m3sm1667110lfb.8.2016.01.23.13.37.55 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 23 Jan 2016 13:37:56 -0800 (PST) Sender: =?UTF-8?Q?Timo_Ter=C3=A4s?= Date: Sat, 23 Jan 2016 23:37:53 +0200 From: Timo Teras To: Corentin Henry Cc: alpine-aports@lists.alpinelinux.org Subject: Re: [alpine-aports] [PATCH] testing/httperf: new aport Message-ID: <20160123233753.6f8dbdcd@vostro> In-Reply-To: <1452439841-2210-1-git-send-email-corentinhenry@gmail.com> References: <1452439841-2210-1-git-send-email-corentinhenry@gmail.com> X-Mailer: Claws Mail 3.13.1 (GTK+ 2.24.28; x86_64-alpine-linux-musl) X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP On Sun, 10 Jan 2016 15:30:41 +0000 Corentin Henry wrote: > testing/httperf/APKBUILD | 42 > ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 > insertions(+) create mode 100644 testing/httperf/APKBUILD > > diff --git a/testing/httperf/APKBUILD b/testing/httperf/APKBUILD > new file mode 100644 > index 0000000..4b494bb > --- /dev/null > +++ b/testing/httperf/APKBUILD > @@ -0,0 +1,42 @@ > +# Contributor: > +# Maintainer: Corentin Henry > +pkgname=httperf > +pkgver=0.9.0 > +pkgrel=0 > +pkgdesc="A tool for measuring web server performance." > +url="https://github.com/httperf/httperf" > +arch="x86_64" > +license="GPL2" > +depends="openssl" The build system gets ELF binary run-time dependencies automatically. This is not needed. And is actually harmful, this pulls more than the required libraries (and technically does not guarantee that the libraries needed are installed). I removed this for you. > +depends_dev="" > +makedepends="openssl-dev" > +install="" > +subpackages="$pkgname-doc" > +source="http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.gz" > + > +_builddir=$srcdir/$pkgname-$pkgver > + > +build() { > + cd "$_builddir" > + cd $pkgname-$pkgver > + export CPPFLAGS="" > + export LDFLAGS="" > + ./configure --prefix=/usr > + make > +} > + > +package() { > + cd $_builddir/src > + make DESTDIR=$pkgdir install > +} > + > +doc() { > + default_doc > + cd $_builddir/man > + gzip -c httperf.1 > httperf.1.gz > + install -Dm644 httperf.1.gz > "$subpkgdir"/usr/share/doc/$pkgname/httperf.1.gz +} > + Looks standard autotools package to me. So standard autotools stuff works here. I fixed all this to the standard. And changed indentation to tabs. Applied with changes. Thanks, Timo --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---