Received: from knopi.disroot.org (knopi.disroot.org [178.21.23.139]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 264E4781D67 for ; Sat, 7 Sep 2019 19:42:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id D7534265AC for ; Sat, 7 Sep 2019 21:42:05 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NnQcLU2aJHQZ; Sat, 7 Sep 2019 21:42:04 +0200 (CEST) From: Bart Ribbers DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1567885324; bh=BwJPo05vAuS0e0VJyTO7Vrwmm3BdpifdVGaaNkCAmmQ=; h=From:To:Cc:Subject:Date; b=G7NgISJfzt1cIWlolfoUJkVe9jVa0J04RHgOHv9HBtWPbgQ3gwe23DvElBeVcgOm1 Byu1Mte7Gr2LhsY2mB78pUZ4NT6dRVTbjAk+OtGzgnYYWvvATB7vTgrKGJy5R6i0cX 3dvpWaBCtE6IMqaSwY+LtPOqrYsqztbRjqDb/KlLC8wDCSl8937UjCaQRrl/KqxzYH +qvPwirkS9wSBhth6+52T2zuGIFCeWRXPIBOpdfY2iUPnmizhR2V0oTte1GjinJf6q X9EcF50ZQjowQxckDjwwn3wiYD4Cd7fKFKp7g770TxGVeJjYxwjYiYSDzixOG3dh4o JtSItPf6XDpdQ== To: alpine-aports@lists.alpinelinux.org Cc: Bart Ribbers Subject: [PATCH] testing/marisa-trie: new aport Date: Sat, 7 Sep 2019 21:41:59 +0200 Message-Id: <20190907194159.20142-1-bribbers@disroot.org> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit --- testing/marisa-trie/APKBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 testing/marisa-trie/APKBUILD diff --git a/testing/marisa-trie/APKBUILD b/testing/marisa-trie/APKBUILD new file mode 100644 index 0000000000..3319201868 --- /dev/null +++ b/testing/marisa-trie/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=marisa-trie +pkgver=0.2.5 +pkgrel=0 +pkgdesc="Static and space-efficient trie data structure library" +url="https://github.com/s-yata/marisa-trie" +arch="all" +license="BSD-2-Clause" +makedepends="autoconf automake libtool" +subpackages="$pkgname-dev" +source="$pkgname-$pkgver.tar.gz::https://github.com/s-yata/marisa-trie/archive/v$pkgver.tar.gz" + +prepare() { + default_prepare + + autoreconf -i +} + +build() { + ./configure \ + --prefix=/usr \ + --disable-static \ + --enable-sse2 + make +} + +check() { + make check +} + +package() { + DESTDIR="$pkgdir" make install +} + +sha512sums="62975a2dacd2a1072c990cd490f866cd5483c069c94a4706baf3ffc21ec43991583a8ef8721c3b841617b0654cbb894698c19759ff12b8887b6fd28939dfb547 marisa-trie-0.2.5.tar.gz" -- 2.23.0