#!/bin/sh ## Build script for: gnome-libs ## Template: Advanced ## Amigo PkgBuild-02 by Gilbert Ashley ## See the Amigo PkgBuild HOWTO for more help. ##### ------------Standard Package Variables------------------- # Most source code only needs these 4 variables set. # Set SRC_SUFFIX to '.tar.gz' ' .tgz' '.tar.bz2' or '.tbz' BUILD="1" NAME="gnome-libs" VERSION="1.4.1.7" SRC_SUFFIX=".tar.bz2" #####--------Common Overrides and Extras-------------------- # PRE_FIX="/usr" # STD_FLAGS="-O2 -march=i486 -mcpu=i686" # STD_CONFIGS="--with-gnu-ld" # EXTRA_CONFIGS="--datadir=/usr/share --sysconfdir=/etc \ # --sharedstatedir=/var/adm --localstatedir=/var/lib \ # --infodir=/usr/info --mandir=/usr/man" # COMPILE_HOST="i486-slackware-linux" EXTRA_CONFIGS="--sysconfdir=/etc" # DOCLIST="COPYING AUTHORS README" #######----------------Processing------------------------------------ . /usr/share/Amigo/PkgBuild/PkgBuild-02.FUNCTIONS ; . /usr/share/Amigo/PkgBuild/PkgBuild-02.GLOBALS ; # This template calls each process individually so you can easily add # instructions between process functions, or leave out steps completely. find_source ; make_src_build_dir ; make_pkg_dirs ; unpack_source ; fix_source_perms ; cd $SRC_DIR zcat $CWD/gnome-libs-$VERSION.docspath.diff.gz | patch -p1 --verbose configure_source ; compile_source ; fake_install ; rm -rf $PKG_DIR/usr/doc rm -rf $PKG_DIR/usr/man rm -rf $PKG_DIR/usr/share/doc rm -rf $PKG_DIR/usr/share/gtk-doc rm -rf $PKG_DIR/usr/share/gnome rm -rf $PKG_DIR/usr/share/aclocal rm -rf $PKG_DIR/usr/include create_docs ; strip_bins ; fix_pkg_perms ; compress_man_pages ; make_description ; make_doinst ; make_package ; exit 0