aboutsummaryrefslogtreecommitdiffstats
path: root/main/augeas/APKBUILD
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-03-08 23:15:27 +0000
committerFabian Affolter <fabian@affolter-engineering.ch>2013-03-11 14:07:29 +0000
commitc2810c49fc5a5faa84dad86fb1c2c2c7e87433f9 (patch)
tree494c14cf1094ae0012cd3c875fdf6f2ce0046db6 /main/augeas/APKBUILD
parent4bb4cab6081b462b3ba749e76939a0f4555a1d53 (diff)
downloadaports-c2810c49fc5a5faa84dad86fb1c2c2c7e87433f9.tar.bz2
aports-c2810c49fc5a5faa84dad86fb1c2c2c7e87433f9.tar.xz
main/augeas: run tests
Diffstat (limited to 'main/augeas/APKBUILD')
-rw-r--r--main/augeas/APKBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/main/augeas/APKBUILD b/main/augeas/APKBUILD
index fd4f1203bd..3536fbae88 100644
--- a/main/augeas/APKBUILD
+++ b/main/augeas/APKBUILD
@@ -2,17 +2,16 @@
pkgname=augeas
pkgver=1.0.0
pkgrel=1
-pkgdesc="a configuration editing tool"
+pkgdesc="A configuration editing tool"
url="http://augeas.net"
arch="all"
-license="LGPL"
-depends=
+license="LGPL2+"
+depends=""
depends_dev="libxml2-dev"
makedepends="$depends_dev readline-dev"
-install=
+install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-tests $pkgname-libs"
-source="http://download.augeas.net/augeas-$pkgver.tar.gz
- "
+source="http://download.augeas.net/augeas-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
@@ -35,6 +34,7 @@ build() {
--mandir=/usr/share/man \
--infodir=/usr/share/info
make || return 1
+ make tests || return 1
}
package() {
@@ -45,6 +45,7 @@ package() {
tests() {
pkgdesc="Tests for Augeas lenses"
+ arch="noarch"
mkdir -p "$subpkgdir"/usr/share/augeas/lenses/dist/
mv "$pkgdir"/usr/share/augeas/lenses/dist/tests \
"$subpkgdir"/usr/share/augeas/lenses/dist/