X-Original-To: alpine-devel@mail.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id A0D60DC048F for ; Wed, 20 May 2015 16:34:45 +0000 (UTC) Received: from st11p00im-asmtp003.me.com (st11p00im-asmtp003.me.com [17.172.80.97]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 7F9C5DC046D for ; Wed, 20 May 2015 16:34:40 +0000 (UTC) Received: from st.ilet.to (st.ilet.to [31.193.133.175]) by st11p00im-asmtp003.me.com (Oracle Communications Messaging Server 7.0.5.35.0 64bit (built Dec 4 2014)) with ESMTPSA id <0NON00IOJQ1QMI10@st11p00im-asmtp003.me.com> for alpine-devel@lists.alpinelinux.org; Wed, 20 May 2015 16:34:39 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.14.151,1.0.33,0.0.0000 definitions=2015-05-20_05:2015-05-19,2015-05-20,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=2 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1412110000 definitions=main-1505200218 Date: Wed, 20 May 2015 16:34:37 +0000 (UTC) From: ScrumpyJack X-X-Sender: nicholas@st.ilet.to To: Alpine Devel List Subject: [alpine-devel] [PATCH] new aport: libasr Message-id: User-Agent: Alpine 2.20 (LNX 67 2015-01-07) X-Mailinglist: alpine-devel 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 X-Virus-Scanned: ClamAV using ClamSMTP libasr is a free, simple and portable asynchronous resolver library --- testing/libasr/APKBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 testing/libasr/APKBUILD diff --git a/testing/libasr/APKBUILD b/testing/libasr/APKBUILD new file mode 100644 index 0000000..457ead0 --- /dev/null +++ b/testing/libasr/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: ScrumpyJack +# Maintainer: +pkgname=libasr +pkgver=1.0.1 +pkgrel=0 +pkgdesc="libasr is a free, simple and portable asynchronous resolver library" +url="http://www.opensmtpd.org" +arch="all" +license="ISC" +depends="" +depends_dev="" +makedepends="mdocml bison openssl-dev libevent-dev automake autoconf libtool" +install="" +subpackages="$pkgname-dev" +source="https://www.opensmtpd.org/archives/${pkgname}-${pkgver}.tar.gz" +options="libtool" + +_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" + ./configure --with-pie \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --with-mantype=man || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR=${pkgdir} install || return 1 + find "$pkgdir" -name '*.la' -delete || return 1 +} + +md5sums="ca46c5f24846598f9fd2322c265f5313 libasr-1.0.1.tar.gz" +sha256sums="262471e312d623e4951a133ed4c16a74d57f0a02554ca4ed7b4b575456620182 libasr-1.0.1.tar.gz" +sha512sums="94afed300327622e597d3678525b0d30a0a4a812966040a92a7b7b73beebb2209c7e6931cea07841aba745e14cda6df0dea9a7e098a94121768850e1d0e8d5ef libasr-1.0.1.tar.gz" -- 2.4.1 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---