#!/bin/bash ## src2pkg script for: pkg-config ## Auto-generated by src2pkg-2.0 ## src2pkg - Copyright 2005-2009 Gilbert Ashley SOURCE_NAME='pkg-config-0.23.tar.bz2' NAME='pkg-config' # Use ALT_NAME to override guessed value VERSION='0.23' # Use ALT_VERSION to override guessed value # ARCH='' # BUILD='1' # PRE_FIX='usr' # Any extra options go here: # EXTRA_CONFIGS="" # enable this to use systems' installed glib2 # EXTRA_CONFIGS="--with-installed-glib" # Optional function replaces configure_source, compile_source, fake_install # To use, uncomment and write/paste CODE between the {} brackets. # build() { CODE } # Get the functions and configs . /usr/libexec/src2pkg/FUNCTIONS ; # Execute the named packaging steps: pre_process find_source make_dirs unpack_source fix_source_perms configure_source # compile_source # If used, the 'build' function replaces these 3 fake_install # mkdir -p $PKG_DIR/etc/profile.d/ #cp -a $CWD/scripts/* $PKG_DIR/etc/profile.d cat > $PKG_DIR/etc/profile.d/pkgconfig.sh <