new bblfs: dev-libs/popt-1.19
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
pkgname=popt
|
||||
pkgver=1.19
|
||||
pkgdesc="A commandline option parser"
|
||||
arch=('x86_64')
|
||||
homepage="https://github.com/rpm-software-management/popt"
|
||||
license=('custom')
|
||||
sources=("${pkgname}-${pkgver}.tar.gz")
|
||||
urls=("https://ftp.osuosl.org/pub/rpm/popt/releases/popt-1.x/${sources[0]}")
|
||||
md5sums=("eaa2135fddb6eb03f2c87ee1823e5a78")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
./configure --prefix=/usr --disable-static &&
|
||||
make
|
||||
}
|
||||
|
||||
src_check() {
|
||||
make check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${pkgdir}" install
|
||||
install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
|
||||
}
|
||||
Reference in New Issue
Block a user