Files
packages/extra/lmdb/build.sh
T
SFG545 45bcdeddaf Add new packages and build scripts for various libraries
- Introduced build scripts for gsettings-desktop-schemas, hypercorn, json-glib, libassuan, libbsd, libcloudproviders, libdaemon, libmd, libproxy, libsass, libseccomp, libxcomposite, libxdamage, libxtst, lmdb, python-aiofiles, python-blinker, python-flask, python-h11, python-h2, python-hpack, python-hyperframe, python-itsdangerous, python-more-itertools, python-priority, python-pyaml, python-quart, python-tappy, python-werkzeug, python-wsproto, sassc, snowball, talloc, xmltoman, and xorg-xprop.
- Added TOML configuration files for each package specifying build types, dependencies, and source URLs.
- Implemented custom build scripts for packages requiring specific build commands and configurations.
- Included patches for snowball to make libstemmer a shared library.
2026-03-25 17:44:55 -05:00

10 lines
554 B
Bash

sed -e "s|@PKGVER@|0.9.35|" -i ../lmdb.pc
cd libraries/liblmdb
make CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" prefix=/usr || exit 1
install -dm755 "$DESTDIR/usr/bin" "$DESTDIR/usr/lib" "$DESTDIR/usr/include" "$DESTDIR/usr/man/man1" "$DESTDIR/usr/share" || exit 1
make CC=clang DESTDIR="$DESTDIR" CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" prefix=/usr install || exit 1
mv "$DESTDIR/usr/man" "$DESTDIR/usr/share/man" || exit 1
install -dm755 "$DESTDIR/usr/lib/pkgconfig" || exit 1
cp ../../../lmdb.pc "$DESTDIR/usr/lib/pkgconfig/lmdb.pc" || exit 1