More packages

This commit is contained in:
2025-09-22 20:04:53 +01:00
parent 8c843a5f94
commit 6909061a17
5 changed files with 68 additions and 5 deletions

23
arch/xz/PKGCONF Normal file
View File

@@ -0,0 +1,23 @@
VERSION=5.8.1
PACKAGE=xz
URL=git://github.com/tukaani-project/${PACKAGE}@v${VERSION}
CATEGORY=arch
configure() {
echo "Configuring $PACKAGE"
cd "${SRCDIR}/${PACKAGE}-${VERSION}"
./autogen.sh
./configure
}
build() {
echo "Building $PACKAGE"
cd "${SRCDIR}/${PACKAGE}-${VERSION}"
make -j ${NCPU}
}
install() {
echo "Installing $PACKAGE to ${DESTDIR}"
cd "${SRCDIR}/${PACKAGE}-${VERSION}"
make install DESTDIR="${DESTDIR}"
}

View File

@@ -111,12 +111,23 @@ download() {
extract() { extract() {
if [ "$URL_PROTO" != "git" ]; then if [ "$URL_PROTO" != "git" ]; then
cd "${SRCDIR}"
printf "Extracting ${SRC} ... " printf "Extracting ${SRC} ... "
( case $SRC in
cd "${SRCDIR}" *.gz)
gzip -d < "${DISTFILES}/${SRC}" | tar xf - gzip -d < "${DISTFILES}/${SRC}" | tar xf -
) ;;
*.xz)
xz -d < "${DISTFILES}/${SRC}" | tar xf -
;;
*)
echo "Error: no method to extract ${SRC}"
return 10
;;
esac
echo "done" echo "done"
cd "${HERE}"
fi fi
} }

23
crypto/nettle/PKGCONF Normal file
View File

@@ -0,0 +1,23 @@
VERSION=3.10
PACKAGE=nettle
SRC=${PACKAGE}-${VERSION}.tar.gz
URL=${SITE_GNU}/${PACKAGE}/${SRC}
CATEGORY=crypto
configure() {
echo "Configuring $PACKAGE"
cd "${SRCDIR}/${PACKAGE}-${VERSION}"
./configure --disable-openssl --enable-shared
}
build() {
echo "Building $PACKAGE"
cd "${SRCDIR}/${PACKAGE}-${VERSION}"
make -j ${NCPU}
}
install() {
echo "Installing $PACKAGE to ${DESTDIR}"
cd "${SRCDIR}/${PACKAGE}-${VERSION}"
make install DESTDIR="${DESTDIR}"
}

View File

@@ -22,7 +22,10 @@ configure() {
--includedir=/usr/local/include \ --includedir=/usr/local/include \
--mandir=/usr/local/share/man \ --mandir=/usr/local/share/man \
--enable-cloog-backend=isl \ --enable-cloog-backend=isl \
--enable-languages=c,c++,fortran,go,objc \ --without-isl \
--disable-libsanitizer \
--disable-bootstrap \
--enable-languages=c,c++,fortran,objc \
--enable-libssp \ --enable-libssp \
--enable-nls \ --enable-nls \
--enable-objc-gc \ --enable-objc-gc \

View File

@@ -26,4 +26,7 @@ install() {
echo "Installing $PACKAGE to ${DESTDIR}" echo "Installing $PACKAGE to ${DESTDIR}"
cd "${SRCDIR}/${PACKAGE}-${VERSION}" cd "${SRCDIR}/${PACKAGE}-${VERSION}"
make install DESTDIR="${DESTDIR}" make install DESTDIR="${DESTDIR}"
cd "${DESTDIR}/usr/local/bin"
ln -s msgfmt gmsgfmt
} }