From 27502f9202b5a6c7a746f6dadc64827ace550b38 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Thu, 25 Dec 2025 14:44:03 -0500 Subject: [PATCH] new bblfs: dev-libs/popt-1.19 --- README.md | 8 +++++++- dev-libs/popt-1.19.PKGBUILD | 27 +++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 dev-libs/popt-1.19.PKGBUILD diff --git a/README.md b/README.md index f84d82f..d0cd0c2 100644 --- a/README.md +++ b/README.md @@ -15,11 +15,17 @@ Warning: `leaf` won't deal with the dependence relation, and currently won't che ## BLFS order + +Those can be installed directly: +``` +dev-libs/libunistring dev-libs/popt dev-libs/libtasn1 app-arch/libarchive +``` + - `dev-libs/libunistring` -> `net-dns/libidn2` -> `net-libs/libpsl` -> `net-misc/wget` - `dev-libs/libtasn1` -> `app-crypt/p11-kit` -> `app-misc/make-ca` - `net-libs/libpsl`+`app-misc/make-ca` -> `net-misc/curl` - `libxml2` is not needed for `nghttp2` - `icu` is not needed for `libxml2` - `net-misc/curl`+`app-arch/libarchive`+`dev-libs/libuv` -> `dev-build/cmake` -- `dev-db/sqlite` -> rebuild `dev-lang/python` +- `app-arch/libarchive` -> `dev-db/sqlite` -> rebuild `dev-lang/python` - `dev-python/six` -> `dev-debug/gdb` diff --git a/dev-libs/popt-1.19.PKGBUILD b/dev-libs/popt-1.19.PKGBUILD new file mode 100644 index 0000000..4b02e89 --- /dev/null +++ b/dev-libs/popt-1.19.PKGBUILD @@ -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 +}