X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id DDDE6DC02A8 for ; Fri, 10 Oct 2014 07:54:20 +0000 (UTC) Received: from plantcutter.riseup.net (plantcutter-pn.riseup.net [10.0.1.121]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Gandi Standard SSL CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id E78FF535C3 for ; Fri, 10 Oct 2014 00:54:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1412927659; bh=7Xf54kX6LLRcX+K+z4t0S2bzVVO6wXCKa/5kz6OD/0I=; h=From:To:Cc:Subject:Date:From; b=BFsBXdMut8Lbq26XFyojksnW775vruGH076SlJtra/skiTlrgbwxkYmBQDujIm8Km rm1SYvIyMcJQRo30UxJujE+37JcLchm6J0HxIXEAVsQJuPLcPw34rZa+LpTrRvE8eV H4bHg+5pZImDGMGLnP0A42ynkxGyiHZzjDGpLQpY= Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: roger.newman) with ESMTPSA id EE18722748 From: Roger Newman To: alpine-devel@lists.alpinelinux.org Cc: Roger Newman Subject: [alpine-devel] [PATCH] testing/libecap: new aport Date: Fri, 10 Oct 2014 09:51:21 +0200 Message-Id: <1412927481-3694-1-git-send-email-roger.newman@riseup.net> X-Mailer: git-send-email 2.0.0 X-Virus-Scanned: clamav-milter 0.98.4 at mx1 X-Virus-Status: Clean X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: http://e-cap.org/Home 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 0000000..5fefe63 --- /dev/null +++ b/testing/libecap/APKBUILD @@ -0,0 +1,45 @@ +# Maintainer: Roger Newman +pkgname=libecap +pkgver=0.2.0 +pkgrel=0 +pkgdesc="eCAP libary to us with 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 +} + +build() { + cd "$_builddir" + export CFLAGS="$CFLAGS -O2" + CHOST="${CHOST}" ./configure \ + --prefix=/usr \ + --libdir=/lib \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make install \ + pkgconfigdir="/usr/lib/pkgconfig" \ + DESTDIR="$pkgdir" || return 1 + + rm -f "$pkgdir"/lib/*.la +} + +md5sums="e65a855f4fbb0f3136af7fe28249e883 libecap-0.2.0.tar.gz" +sha256sums="19e195d60cf67ec3b49fe4d109823d753546b5da115230499ad1a9cb65ca92d2 libecap-0.2.0.tar.gz" +sha512sums="5d39444ec79846b14a7f4292e51bb880befd2cbf581b257d5087517cfae1dce55e4439a90c08e0b8f5b3e8b2431dde8c6fab771c826489024f17625cfc8c777e libecap-0.2.0.tar.gz" -- 2.0.0 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---