X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-lb0-f196.google.com (mail-lb0-f196.google.com [209.85.217.196]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 5C826DC0104 for ; Sun, 5 Oct 2014 11:04:29 +0000 (UTC) Received: by mail-lb0-f196.google.com with SMTP id w7so1088374lbi.7 for ; Sun, 05 Oct 2014 04:04:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=3jpdDw4OSGIUIf6XajoP7zcHt58NzyicWSmeDWHfGd4=; b=yhszRfYWRsSuqRP+fk/Nnw1pXKEDQ5fZRSpFNnvO8akgjqioCBzzkXZHlQva8GWsTD ByXpCLThCWnWNe5oYBCOhtZMsSD6BprzcgHGFOdGb3+lsTiSIYpC3T4jsf6l9IXEcIYl eIxGU/fA5Y4C45+NuWNoKqgdXGo/yE1KNsK56DeONpp5uboCAYaKgMg5E4Rq+NuCoPpD 7uE2tP2Ih6a7+ln991rybdptIDyAu02xrG0H1lp9NpRZ+DFiIWz6PqHeTWz6fHyJEse5 D7qDi8wUTLaGQycQ4A0LDL9pA5TGfIxPKWOD23hhmgtSZZzouiaJ2x3+va0SEcomsyMH C6SA== X-Received: by 10.112.170.165 with SMTP id an5mr17165835lbc.6.1412507067651; Sun, 05 Oct 2014 04:04:27 -0700 (PDT) Received: from alpine-dev.my.domain (92-100-235-178.dynamic.avangarddsl.ru. [92.100.235.178]) by mx.google.com with ESMTPSA id z4sm4618931laz.39.2014.10.05.04.04.26 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 05 Oct 2014 04:04:26 -0700 (PDT) From: k0r10n To: alpine-devel@lists.alpinelinux.org Cc: k0r10n Subject: [alpine-devel] [PATCH] testing/openexr new aport Date: Sun, 5 Oct 2014 15:04:23 +0400 Message-Id: <1412507063-10566-1-git-send-email-k0r10n.dev@gmail.com> X-Mailer: git-send-email 2.0.0 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: --- testing/openexr/APKBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 testing/openexr/APKBUILD diff --git a/testing/openexr/APKBUILD b/testing/openexr/APKBUILD new file mode 100644 index 0000000..bab8fbe --- /dev/null +++ b/testing/openexr/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: +# Maintainer: +pkgname=openexr +pkgver=2.1.0 +pkgrel=0 +pkgdesc="An high dynamic-range image file format library" +url="http://www.openexr.com/" +arch="all" +license="BSD" +depends="ilmbase zlib" +depends_dev="ilmbase-dev zlib-dev" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="http://download.savannah.nongnu.org/releases/openexr/${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" + ./configure --prefix=/usr \ + -mandir=/usr/share/man \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + install -Dm644 LICENSE \ + "$pkgdir"/usr/share/licenses/$pkgname/LICENSE || return 1 + find "$pkgdir" -name '*.la' -delete +} + +md5sums="33735d37d2ee01c6d8fbd0df94fb8b43 openexr-2.1.0.tar.gz" +sha256sums="54486b454073c1dcb5ae9892cf0f730ffefe62f38176325281505093fd218a14 openexr-2.1.0.tar.gz" +sha512sums="d69924331c3392b8063229391414bb90f16ce317c76cfffe5fe0fcbb25e576f6ace8320b51c2a9987fee912cedd8e69116d4b49ba716b4a5f011131a81815403 openexr-2.1.0.tar.gz" -- 2.0.0 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---