#!/bin/sh ## Build script for: control-center ## 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="control-center" VERSION="1.4.0.5" 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="--with-gnome=/usr --with-gnome-libs=/usr/ --with-gnome-includes=/usr/include/gnome-1.0" # 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 ; cd $SRC_DIR ; zcat $CWD/control-center.slackware.diff.gz | patch -p1 fix_source_perms ; configure_source ; compile_source ; fake_install ; cd $PKG_DIR/usr/include ; ln -sf libcapplet1/capplet-widget.h . create_docs ; strip_bins ; fix_pkg_perms ; compress_man_pages ; make_description ; make_doinst ; make_package ; exit 0