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
+34
View File
@@ -0,0 +1,34 @@
/*
* libunistring — Unicode string library (base for libidn2 and wget).
*
* Standard autotools static build; no external deps.
*/
package "libunistring" {
const version = "1.4"
const source = "https://ftp.gnu.org/gnu/libunistring/libunistring-${version}.tar.gz"
sha256 = "f7e39ddeca18858ecdd02c60d1d5374fcdcbbcdb6b68a391f8497cb1cb2cf3f7"
license = "LGPL-3.0-or-later"
provides = ["libunistring.a"]
depends = [
{ name = "make" },
]
prepare {
curl -L -o libunistring-${version}.tar.gz ${source}
echo "f7e39ddeca18858ecdd02c60d1d5374fcdcbbcdb6b68a391f8497cb1cb2cf3f7 libunistring-${version}.tar.gz" | sha256sum -c -
tar xf libunistring-${version}.tar.gz --strip-components=1
}
build {
./configure --prefix=${prefix} --disable-shared
make -j${jobs}
}
install {
make DESTDIR=${destdir} install
find ${destdir} -name '*.la' -delete
}
}