# libserf-for01/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. A "foreign" executable is a Linux executable that was compiled out- side this distro or that is from this distro but outdated. This package builds one or more obsolete "*.so.#" library files for use by "foreign" executables. The files are considered obsolete because they aren't supposed to be needed by current executables in this distro. Other development files, such as header files, aren't built or in- stalled. The obsolete library files go into the following directory: $PRODTREE/foreign/lib/ The directory is hidden from the distro build system. However, the directory is listed in "glibc's" "ld.so.conf" file and so foreign exe- cutables can use them. #--------------------------------------------------------------------- 2. If an older release of a library is actually used in development, it shouldn't be handled in this manner. Instead, a package that builds a normal copy of the library, including header files and other devel- opment files, should be created. This can be done even if multiple releases of the library are used. In this event, all but one (or even all) of the releases should use the "nosyslinks" feature to hide themselves from the build system. Packages that need a particular release of the library can use the "setpaths" feature to access that release. #--------------------------------------------------------------------- [buildtimes] 00.00 hours (or 000.25 minutes) - ThinkPad E540 i7 4x2 16GB RAM #--------------------------------------------------------------------- [settings] configure = none license = See source tarball proddir = none purge = no shareddir = yes setpaths = gcc tmpsize = 2M unpack = relaxed #--------------------------------------------------------------------- [depends] expat gdbm libapr libapr-util openssl pkgconf scons util-linux zlib #--------------------------------------------------------------------- [build] TMPPREFIX=/tmp/libserf-foreign mkdir -p $TMPPREFIX scons OPENSSL=$PRODTREE/openssl PREFIX=$TMPPREFIX scons install #--------------------------------------------------------------------- [postbuild] LIBDIR=$PRODTREE/foreign/lib TMPPREFIX=/tmp/libserf-foreign mkdir -p $LIBDIR touch $LIBDIR/hidden cd $TMPPREFIX/lib rm -f `find . -type l` DESTFILE=$LIBDIR/libserf-1.so.1 rm -fr $DESTFILE mv libserf-1.so.1.3.0 $DESTFILE strip -g $DESTFILE chmod 755 $DESTFILE cd / rm -fr $TMPPREFIX #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = Not checked yet url_home = http://code.google.com/p/serf/ url_lfs = n/a url_tarball = https://archive.apache.org/dist/\ serf/serf-1.3.9.tar.bz2 #--------------------------------------------------------------------- [history] 170706 Updated from 1.3.8 to 1.3.9 170706 libressl compatibility fix 191003 Moved release 1.3.9 into new package "libserf-for01"