Skip to content
Permalink
b7ef5b9c45
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 69 lines (55 sloc) 1.6 KB
#!/usr/bin/env beesh
# BEE_VERSION db_compat-4.8.30-0
# hardwired compat version
# 4.8.26 source not found anymore
# pulled 4.8.30 from
# https://ftp6.gwdg.de/pub/linux/slackware/slackware-14.0/source/l/db48/db-4.8.30.tar.xz
SRCURL[0]="/src/mariux/md5repo/de18e52d5ec52489621cbab083858484/db-4.8.30.tar.xz"
# PATCHURL+=()
#build_in_sourcedir
# sourcesubdir_append src
#mee_extract() {
# bee_extract "${@}"
#}
#mee_patch() {
# bee_patch "${@}"
#}
mee_patch_post() {
# fix error on install docs
sed -i '/^library_install:/ s/install_docs//' ${S}/dist/Makefile.in
}
mee_configure() {
# cd build_unix
CFLAGS="-O2 -fPIC" \
CXXFLAGS=${CFLAGS} \
${S}/dist/configure \
--prefix=${PREFIX} \
--enable-compat185 \
--enable-cxx \
--disable-test \
--enable-shared "${@}"
}
mee_build() {
make ${BEE_MAKEFLAGS} ${DEFCONFIG} "$@"
}
mee_install() {
make ${BEE_MAKEFLAGS} install ${DEFCONFIG} DESTDIR=${D} "$@"
}
mee_install_post() {
rm -vrf ${D}/usr/include
rm -vrf ${D}/usr/bin
rm -vf ${D}/usr/lib/libdb.a
rm -vf ${D}/usr/lib/libdb-4.8.a
rm -vf ${D}/usr/lib/libdb_cxx.a
rm -vf ${D}/usr/lib/libdb_cxx-4.8.a
rm -vf ${D}/usr/lib/libdb.so
rm -vf ${D}/usr/lib/libdb_cxx.so
}
if [ -z "${DEFCONFIG}" ] ; then
for var in prefix eprefix bindir sbindir libexecdir sysconfdir \
sharedstatedir localstatedir libdir includedir \
datarootdir datadir infodir localedir mandir docdir ; do
DEFCONFIG="${DEFCONFIG} \${${var^^}:+${var^^}=\${${var^^}}}"
done
fi
eval DEFCONFIG=\"${DEFCONFIG}\"