pkgname=popt pkgver=1.14 pkgrel=0 pkgdesc="A commandline option parser" url="http://rpm5.org" license="custom" depends="uclibc" source="http://rpm5.org/files/$pkgname/$pkgname-$pkgver.tar.gz" subpackages="$pkgname-doc $pkgname-dev" build () { cd $srcdir/$pkgname-$pkgver ./configure --prefix=/usr make || return 1 make DESTDIR=$pkgdir install || return 1 } md5sums="4f90a07316eb825604dd10ae4f9f3f04 popt-1.14.tar.gz"