X-Original-To: alpine-aports@lists.alpinelinux.org Received: from sender153-mail.zoho.com (sender153-mail.zoho.com [74.201.84.153]) by lists.alpinelinux.org (Postfix) with ESMTP id 921955C43FA for ; Wed, 16 Nov 2016 14:18:58 +0000 (GMT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=from:to:subject:date:message-id; b=M3Tm+wAP7mU6TRunsZ6tZr4tK5oQl2VlGFdN6H6JRphL5NsXLd3LcaFW3LJmHRM63UEX5pSOoPM0 XkK8uw+Zn9T25W5LmDS89UyLcFNbHo4hByDbgWaD/+VIejUktmKP Received: from localhost (89-74-198-11.dynamic.chello.pl [89.74.198.11]) by mx.zohomail.com with SMTPS id 1479305935299321.869295084848; Wed, 16 Nov 2016 06:18:55 -0800 (PST) From: Przemyslaw Pawelczyk To: alpine-aports@lists.alpinelinux.org Subject: [alpine-aports] [PATCH] testing/rhash: New aport. Date: Wed, 16 Nov 2016 15:13:30 +0100 Message-Id: <20161116141330.31111-1-przemoc@zoho.com> X-Mailer: git-send-email 2.8.3 X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: http://rhash.anz.ru/ RHash is a console utility for calculation and verification of magnet links and a wide range of hash sums like CRC32, MD4, MD5, SHA1, SHA256, SHA512, SHA3, AICH, ED2K, Tiger, DC++ TTH, BitTorrent BTIH, GOST R 34.11-94, RIPEMD-160, HAS-160, EDON-R, Whirlpool and Snefru. --- testing/rhash/APKBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 testing/rhash/APKBUILD diff --git a/testing/rhash/APKBUILD b/testing/rhash/APKBUILD new file mode 100644 index 000000000000..9d3c2f3ab75c --- /dev/null +++ b/testing/rhash/APKBUILD @@ -0,0 +1,33 @@ +# Maintainer: Przemyslaw Pawelczyk +pkgname=rhash +pkgver=1.3.4 +pkgrel=0 +pkgdesc="Utility for calculation and verification of hash sums and magnet links" +url="http://rhash.anz.ru/" +arch="all" +license="custom" +depends= +depends_dev="" +makedepends="$depends_dev" +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.gz::http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-src.tar.gz" + +builddir="$srcdir"/$pkgname-$pkgver + +build() { + cd "$builddir" + make \ + || return 1 +} + +package() { + cd "$builddir" + make install \ + DESTDIR="$pkgdir" \ + PREFIX=/usr \ + || return 1 +} + +md5sums="0b51010604659e9e99f6307b053ba13b rhash-1.3.4.tar.gz" +sha256sums="406662c4703bd4cb1caae26f32700951a5e12adf39f141d3f40e0b461b1e9e49 rhash-1.3.4.tar.gz" +sha512sums="a78be309011798d5e55023eb93f898c10254a42270288fa5ec68ad446b5f3d001e8c6f893683e5171e3858c86d45ce2ce16eefde1173209e1925420c27a7ff7a rhash-1.3.4.tar.gz" -- 2.8.3 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---