X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) by lists.alpinelinux.org (Postfix) with ESMTP id EAA565C4FF6 for ; Tue, 28 Feb 2017 19:37:58 +0000 (GMT) Received: from piha.riseup.net (unknown [10.0.1.163]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id 489E71A192B for ; Tue, 28 Feb 2017 19:37:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1488310678; bh=tFEIRXRc6yjKygoIGlVwUyO/bYPZkYX9DCcNRIzNXUo=; h=From:Subject:To:Date:From; b=JqkOC9RcfKlxhwfSAlgg3HobcdaN3QLZ/027mJ9Hq1YoMRuOJUjhMce3bgrqt3YlG LTLA5VLjhIsRXGQpUUcu3QoBMJ5Uz5Pz+9PgUVyFN2Mo3MQ9BTTGZgh4eP4TW90LHH NvMoh12Gu4MfUxPEQ4/2VNDanp+ygt+E4u/Os2rM= Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: roger.newman) with ESMTPSA id EA91E1C030D From: Roger Newman Subject: [alpine-aports] [PATCH] testing/libecap: new aport To: alpine-aports@lists.alpinelinux.org Message-ID: Date: Tue, 28 Feb 2017 20:27:37 +0100 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=utf-8 Content-Transfer-Encoding: 7bit http://www.e-cap.org/ eCAP allows an HTTP proxy or an ICAP server, to outsource content analysis and adaptation to a loadable module --- testing/libecap/APKBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 testing/libecap/APKBUILD diff --git a/testing/libecap/APKBUILD b/testing/libecap/APKBUILD new file mode 100644 index 0000000000..296b04e8c0 --- /dev/null +++ b/testing/libecap/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: Roger Newman +# Maintainer: Roger Newman +pkgname=libecap +pkgver=1.0.0 +pkgrel=0 +pkgdesc="eCAP allows an HTTP proxy or an ICAP server, to outsource content analysis and adaptation to a loadable module" +url="http://www.e-cap.org/" +arch="all" +license="BSD" +depends="" +subpackages="$pkgname-dev" +source="http://www.measurement-factory.com/tmp/ecap/$pkgname-$pkgver.tar.gz" + +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done + update_config_sub || return 1 +} + +build() { + cd "$_builddir" + ./configure 'CXXFLAGS=-O2 -m64 -pipe' 'CFLAGS=-O2 -m64 -pipe' \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --libdir=/lib \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make install-strip \ + libdir=/usr/lib \ + pkgconfigdir="/usr/lib/pkgconfig" \ + DESTDIR="$pkgdir" || return 1 +} + +sha512sums="7d34b5a9b6843d6b09efc4fa390c7a2d3dda7a2ae5e82d5021295e436ca9afb7c1f70bc6f25a68e4c430fb6e33ee9f602655c9c830fccd46a8f554774813b452 libecap-1.0.0.tar.gz" -- 2.11.0 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---