This commit is contained in:
2026-08-18 18:59:25 -04:00
parent e65dcbb790
commit 815160cfd7
17 changed files with 593 additions and 10 deletions
+35
View File
@@ -0,0 +1,35 @@
/*
* libpsl — Public Suffix List (cookie domain handling), for curl/wget.
*
* Built without libicu (the heavy Unicode dep — libidn2 covers IDN).
*/
package "libpsl" {
const version = "0.23.3"
const source = "https://github.com/rockdaboot/libpsl/releases/download/0.23.3/libpsl-0.23.3.tar.gz"
sha256 = "93941f85a1e7bd593fa94f299233cb5dfc91cd144fd9a78a6ceb75001c5b03be"
license = "MIT"
provides = ["libpsl.a"]
depends = [
{ name = "make" },
]
prepare {
curl -L -o libpsl-${version}.tar.gz ${source}
echo "93941f85a1e7bd593fa94f299233cb5dfc91cd144fd9a78a6ceb75001c5b03be libpsl-${version}.tar.gz" | sha256sum -c -
tar xf libpsl-${version}.tar.gz --strip-components=1
}
build {
./configure --prefix=${prefix} --disable-shared --enable-static --without-libicu --disable-runtime
make -j${jobs}
}
install {
make DESTDIR=${destdir} install
find ${destdir} -name '*.la' -delete
find ${destdir} -name '*.la' -delete
}
}