Received: from mail-qt1-f195.google.com (mail-qt1-f195.google.com [209.85.160.195]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 94D547800BA for ; Thu, 17 Sep 2020 22:23:06 +0000 (UTC) Received: by mail-qt1-f195.google.com with SMTP id e7so3283919qtj.11 for ; Thu, 17 Sep 2020 15:23:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=8r9tHas8vQLbVM+SxB9vYK+zYLxyfO87a8Zd6CeJWnw=; b=Tlnaa6YJISFuC/QfXT7ODseh3qgwYQLwRJSelk3DZQnNxhONbzueUVF6DNUvFD9Bjb bx5G8Nyg+J7au3brrGZrizaN/mcTDTHAu9p9PYMZoIpik672bmFfRzVXEZnq74eeRr7v /Ze+YpnYwKccBHdYrhY3RcAXL22sseEMGw4yfSa+FOJ0p4yIu02MfPIcWEO2LPJa4Mgu L04LLC5bPP181QX85wIlcvcArs5YP+n3wrUD38lTD4M/LPwHWDt6GJxSS55JQyFmwYLR b5q8ZBIy2oTlHkBFm3Y1B439JU404l7FGDWOdNa2T+BiKfujvaUKt7rrMRPm4qZu04SH uGWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=8r9tHas8vQLbVM+SxB9vYK+zYLxyfO87a8Zd6CeJWnw=; b=afVtc1/beEsmf7G7yheL6h/OF+0lBMEsmlOBhAC2e+TfvsjKpIZrgOOctF29Z4+xGD uD59PjXJla0pVA8mCERqtP5SLIHY6l26YWhfFcfFiae0HML6gKr+ZmLBQku6gO6DVqzL urAfCoU9nK0X2PmBhOGWuqR84l0iiH+oPZWwTVDrnA8h9/ZriaVpWA9fwj+XKzmcOErx S4e0FLXLDasLw+tB4lGO/rN2HspZCOehqVToiwk8l31ylK6xNj8zJSMpehn6TFQvSnSf 7QREtKZWTvZmrD3s58ufNLxecWpGkSEGMscn37U0e8GX8DiS9udI5bvUyTnNn05chGVs Judg== X-Gm-Message-State: AOAM530qr91/IM+U7HrcndEdtedjEdqv+H2utCh55fxmXESI0X2eWwkz 2ybJC6uh1uR+3D5B6YsADsVBTWBLugeCZQ== X-Google-Smtp-Source: ABdhPJxaYqED1qRrxSn6+1c3QRpbRWEVdeegOC3eYhYSfLM3J2IooUviZg55djVSNI2Q0fv0YgEVnQ== X-Received: by 2002:ac8:1b57:: with SMTP id p23mr29824404qtk.180.1600381384488; Thu, 17 Sep 2020 15:23:04 -0700 (PDT) Received: from alpine.lxd ([162.211.160.162]) by smtp.googlemail.com with ESMTPSA id l12sm852332qkg.54.2020.09.17.15.23.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Sep 2020 15:23:03 -0700 (PDT) From: Sergey Fukanchik To: alpine-aports@lists.alpinelinux.org Cc: Sergey Fukanchik Subject: [PATCH] testing/djvulibre: new aport Date: Thu, 17 Sep 2020 22:22:51 +0000 Message-Id: <20200917222251.25793-1-fukanchik@gmail.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit http://djvu.sourceforge.net/ Utilities and Libraries for the DjVu image format --- testing/djvulibre/APKBUILD | 60 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 testing/djvulibre/APKBUILD diff --git a/testing/djvulibre/APKBUILD b/testing/djvulibre/APKBUILD new file mode 100644 index 0000000000..9c73ff2ead --- /dev/null +++ b/testing/djvulibre/APKBUILD @@ -0,0 +1,60 @@ +# Contributor: Sergey Fukanchik +pkgname=djvulibre +pkgver=3.5.27 +pkgrel=0 +pkgdesc="Utilities and Libraries for the DjVu image format" +url="http://djvu.sourceforge.net/" +arch="all" +license="GPL-2.0" +depends="libjpeg-turbo tiff" +makedepends="libjpeg-turbo-dev tiff-dev" +subpackages="$pkgname-bin:_bin $pkgname-desktop $pkgname-text $pkgname-dev $pkgname-doc lib$pkgname:libs" +source="http://downloads.sourceforge.net/djvu/djvulibre-$pkgver.tar.gz" + +build() { + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir=/usr/share/man + + make +} + +_bin() { + pkgdesc="Utilities for the DjVu image format" + mkdir -p "$subpkgdir"/usr + mv "$pkgdir"/usr/bin "$subpkgdir"/usr +} + +libs() { + pkgdesc="Runtime support for the DjVu image format" + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/*.so.* \ + "$subpkgdir"/usr/lib/ +} + +text() { + pkgdesc="Linguistic support files for libdjvulibre" + mkdir -p "$subpkgdir"/usr/share/ + mv "$pkgdir"/usr/share/djvu \ + "$subpkgdir"/usr/share/ +} + +desktop() { + pkgdesc="Desktop support for the DjVu image format" + mkdir -p "$subpkgdir"/usr/share + mv "$pkgdir"/usr/share/mime \ + "$pkgdir"/usr/share/icons \ + "$subpkgdir"/usr/share/ +} + +check() { + make check +} + +package() { + make DESTDIR="$pkgdir" install +} + +sha512sums="62abcaa2fe7edab536477929ba38b882453dab1a06e119a3f838b38d5c61f5d8c252e4769e6534582b826e49bcfb490513179580fab9c3afa84aa92053ccebee djvulibre-3.5.27.tar.gz" -- 2.26.2