diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-26 11:10:07 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-26 11:10:07 +0200 |
commit | a39e19f96447a409ae6f6c1c63d3c16feb1a3991 (patch) | |
tree | 148fdebc95bfd8788f91996703d2094c1b8df4da /testing/libuecc | |
parent | c5240dc4d2a5efc26b94c943d87848e51ba2794b (diff) | |
download | aports-a39e19f96447a409ae6f6c1c63d3c16feb1a3991.tar.bz2 aports-a39e19f96447a409ae6f6c1c63d3c16feb1a3991.tar.xz |
unmaintained/[multiple] move back packages to testing
move back packages that are depends of other packages in testing
Diffstat (limited to 'testing/libuecc')
-rw-r--r-- | testing/libuecc/APKBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/testing/libuecc/APKBUILD b/testing/libuecc/APKBUILD new file mode 100644 index 0000000000..cf350b42f0 --- /dev/null +++ b/testing/libuecc/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr> +# Maintainer: Johannes Matheis <jomat+alpinebuild@jmt.gr> +pkgname=libuecc +pkgver=6 +pkgrel=0 +pkgdesc="Very small Elliptic Curve Cryptography library" +url="http://git.universe-factory.net/libuecc/" +arch="all" +license="BSD" +depends="" +depends_dev="cmake" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="http://git.universe-factory.net/${pkgname}/snapshot/${pkgname}-${pkgver}.tar" + +_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" + mkdir build + cd build + cmake -D CMAKE_INSTALL_PREFIX=/usr .. + make +} + +package() { + cd "$_builddir/build" + make install DESTDIR="${pkgdir}" + install -Dm644 "$_builddir"/COPYRIGHT \ + $pkgdir/usr/share/licenses/$pkgname/COPYRIGHT +} + +md5sums="d3d126e293db0d5262d2985bd911665f libuecc-6.tar" +sha256sums="fe61715b7cd8458616840f71ab8c0c7e5f49480a9cfb2c1965fbb9d713f071b6 libuecc-6.tar" +sha512sums="0ef6adb12429cd847d7b1e7a79c453675c97e74deb2937733b1cf588ae7fccc45cba43e3d38568217943b941e206a7f47a323829ccde8a2d572381767e82d954 libuecc-6.tar" |