More libs and deps

This commit is contained in:
2025-09-20 17:23:10 +01:00
parent 63f79d2051
commit 6833260506
8 changed files with 195 additions and 1 deletions

25
lang/flex/PKGCONF Normal file
View File

@@ -0,0 +1,25 @@
VERSION=2.6.4
PACKAGE=flex
SRC=${PACKAGE}-${VERSION}.tar.gz
URL=git://github.com/westes/${PACKAGE}@v${VERSION}
CATEGORY=devel
DEPENDS="devel/automake devel/autoconf devel/libtool libs/gettext"
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}"
}

54
lang/gcc-5/PKGCONF Normal file
View File

@@ -0,0 +1,54 @@
VERSION=5.5.0
PACKAGE=gcc-5
SRC=gcc-${VERSION}.tar.gz
URL=${SITE_GNU}/gcc/gcc-${VERSION}/${SRC}
CATEGORY=lang
DEPENDS="devel/binutils libs/gmp libs/mpc libs/mpfr devel/cloog"
configure() {
echo "Configuring $PACKAGE"
cd "${SRCDIR}/gcc-${VERSION}"
./configure \
--exec_prefix=/usr/local \
--bindir=/usr/local/bin \
--sbindir=/usr/local/sbin \
--libexecdir=/usr/local/libexec \
--datadir=/usr/local/share \
--sysconfdir=/etc/usr/local \
--sharedstatedir=/usr/local/share \
--localstatedir=/var/usr/local \
--libdir=/usr/local/lib \
--infodir=/usr/local/share/info \
--includedir=/usr/local/include \
--mandir=/usr/local/share/man \
--enable-cloog-backend=isl \
--enable-languages=c,c++,fortran,go,objc \
--enable-libssp \
--enable-nls \
--enable-objc-gc \
--enable-threads=posix \
--program-suffix=-5 \
--with-cloog=/usr/local \
--with-gmp=/usr/local \
--with-included-gettext \
--with-ld=/usr/ccs/bin/ld \
--without-gnu-ld \
--with-libiconv-prefix=/usr/local \
--with-mpfr=/usr/local \
--with-ppl=/usr/local \
--with-system-zlib=/usr/local \
--with-as=/usr/ccs/bin/as \
--without-gnu-as
}
build() {
echo "Building $PACKAGE"
cd "${SRCDIR}/gcc-${VERSION}"
make -j ${NCPU}
}
install() {
echo "Installing $PACKAGE to ${DESTDIR}"
cd "${SRCDIR}/gcc-${VERSION}"
make install DESTDIR="${DESTDIR}"
}