Commit e14669bd authored by Natanael Copa's avatar Natanael Copa

main/nettle: split out the utils to subpackage

parent ad123ece
......@@ -2,7 +2,7 @@
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch
pkgname=nettle
pkgver=2.4
pkgrel=0
pkgrel=1
pkgdesc="A low-level cryptographic library"
url="http://www.lysator.liu.se/~nisse/nettle/"
arch="all"
......@@ -11,7 +11,7 @@ depends=""
depends_dev="gmp-dev m4"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
subpackages="$pkgname-dev $pkgname-doc $pkgname-utils"
source="ftp://ftp.lysator.liu.se/pub/security/lsh/$pkgname-$pkgver.tar.gz
nettle-2.4-makefile.patch"
_builddir="$srcdir"/$pkgname-$pkgver
......@@ -46,5 +46,11 @@ package() {
rm -f "$pkgdir"/usr/lib/*.la
}
utils() {
pkgdesc="Utils for nettle"
mkdir -p "$subpkgdir"/usr
mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
}
md5sums="450be8c4886d46c09f49f568ad6fa013 nettle-2.4.tar.gz
b3a89964557b9fca040a84e9217b4b01 nettle-2.4-makefile.patch"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment