#!/bin/bash ## src2pkg script for: pango ## Auto-generated by src2pkg-2.1 ## src2pkg - Copyright 2005-2009 Gilbert Ashley SOURCE_NAME='pango-1.20.5.tar.bz2' NAME='pango' # Use ALT_NAME to override guessed value VERSION='1.20.5' # ARCH='' BUILD='2' # recompiled against glib2-2.22.2, cairo-1.8.8 # PRE_FIX='usr' # Any extra options go here: EXTRA_CONFIGS="--sysconfdir=/etc \ --enable-shared --disable-static \ --disable-gtk-doc --with-dynamic-modules=basic" ADD_EXPLICIT_HOST=YES # patches are from debian PATCHLIST='pango-patches/20_indic_rendering.patch pango-patches/21_harfbuzz_gpos.patch pango-patches/22_CVE-2009-1194.patch pango-patches/23_CVE-2010-0421.patch pango-patches/24_harfbuzz_crash.patch pango-patches/60_link-pangoxft-to-fontconfig.patch pango-patches/70_automake.patch pango-patches/pango1.0_1.20.5-6.diff ' # unused debian patches for multi-lib systems # pango-patches/10_scan-module-files-in-dirs.patch # pango-patches/11_module-files-append-module-files-d.patch # pango-patches/12_module-files-append-compat-module-files-d.patch ADD_REQS='font-adobe-75dpi | font-adobe-100dpi | ghostscript-fonts-std' # 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 # # for some weird reason, configure concludes we don't have freetype # and disables building of modules. This patch fixes it, but the patch # is only for building the basic dynamic module. cd $SRC_DIR && patch -p0 < $PATCHES_DIR/pango-patches/modules-makefiles.diff compile_source # If used, the 'build' function replaces these 3 fake_install # fix_pkg_perms strip_bins create_docs compress_man_pages make_description make_doinst make_package post_process