# Contributor: Fabian Affolter # Maintainer: Fabian Affolter setvar pkgname = 'libasyncns' setvar pkgver = '0.8' setvar pkgrel = '0' setvar pkgdesc = ""Asynchronous Name Service Library"" setvar url = ""http://0pointer.de/lennart/projects/libasyncns/"" setvar arch = ""all"" setvar license = ""LGPL2+"" setvar depends = """" setvar depends_dev = """" setvar makedepends = "$depends_dev" setvar install = """" setvar subpackages = ""$pkgname-dev $pkgname-doc"" setvar source = ""http://dev.alpinelinux.org/archive/$pkgname-$pkgver.tar.gz"" setvar _builddir = ""$srcdir"/$pkgname-$pkgver" proc prepare { cd $_builddir update_config_sub || return 1 } proc build { cd $_builddir ./configure \ --build=$CBUILD \ --host=$CHOST \ --disable-static \ --prefix=/usr \ || return 1 make || return 1 } proc package { cd $_builddir make DESTDIR="$pkgdir" install || return 1 } setvar sha512sums = ""2daad3a2d9eb875e0575843d9e9e2787be6cbba89211fd073fa8898ff80e0a891c7da1a7b0ef70f306318cb3a963ecd65d53d24d08b5f6b98e7cd2a3b3bdcda7 libasyncns-0.8.tar.gz""