#!/bin/bash ## src2pkg script for: dietlibc ## Auto-generated by src2pkg-2.2 ## src2pkg - Copyright 2005-2009 Gilbert Ashley SOURCE_NAME='dietlibc-0.32-20090113.tar.gz' NAME='dietlibc' # Use ALT_NAME to override guessed value VERSION='0.32' # Use ALT_VERSION to override guessed value # ARCH='' # BUILD='1' # PRE_FIX='/usr/diet' # Any extra options go here: # EXTRA_CONFIGS="" PATCHLIST='dietlibc-patches/001-dietlibc-0.29-features.patch dietlibc-patches/002-dietlibc-0.30-mdkconfig.patch dietlibc-patches/003-dietlibc-0.22-tests.patch dietlibc-patches/004-dietlibc-0.22-net-ethernet.patch dietlibc-patches/005-dietlibc-0.24-rpc-types.patch dietlibc-patches/006-dietlibc-0.27-glibc-nice.patch dietlibc-patches/007-dietlibc-0.27-ppc-rdtsc.patch dietlibc-patches/008-dietlibc-0.27-test-makefile-fix.patch dietlibc-patches/009-dietlibc-0.27-x86_64-stat64.patch dietlibc-patches/010-dietlibc-0.27-x86_64-lseek64.diff dietlibc-patches/011-dietlibc-0.24-ppc64-select.patch dietlibc-patches/012-dietlibc-0.27-ppc64-stat64.patch dietlibc-patches/013-dietlibc-0.29-biarch.patch dietlibc-patches/014-dietlibc-0.27-quiet.patch dietlibc-patches/015-dietlibc-0.27-ppc-select.patch dietlibc-patches/016-dietlibc-0.27-kernel2.6-types.patch dietlibc-patches/017-dietlibc-0.29-cross.patch dietlibc-patches/018-dietlibc-0.29-sparc-rdtsc-tick-noerror.patch dietlibc-patches/019-dietlibc-0.29-sparc-weak-asm.patch dietlibc-patches/020-dietlibc-0.29-fix-strncmp.patch dietlibc-patches/021-dietlibc-0.29-ppc-gcc-ldbl128.patch dietlibc-patches/022-dietlibc-0.30-relatime.patch dietlibc-patches/023-dietlibc-0.30-force-no-stack-protector.patch dietlibc-patches/024-dietlibc-0.32-fgetc.patch dietlibc-patches/025-dietlibc-0.28-setpriority.patch dietlibc-patches/026-dietlibc-0.29-scall.patch dietlibc-patches/027-dietlibc-0.31-defpath.patch dietlibc-patches/028-dietlibc-0.31-stacksmash.patch dietlibc-patches/029-dietlibc-0.31-stacksmash-dyn.patch dietlibc-patches/030-dietlibc-0.31.20080212-teststdout.patch dietlibc-patches/031-dietlibc-0.31-pagesize.patch dietlibc-patches/032-dietlibc-0.31-printFG.patch dietlibc-patches/033-dietlibc-0.31-testsuite.patch dietlibc-patches/034-dietlibc-0.31-lcctime.patch dietlibc-patches/035-dietlibc-0.31-implicitfunc.patch dietlibc-patches/036-dietlibc-0.31-noreturn.patch dietlibc-patches/037-dietlibc-0.32-20090113-fix_getpriority.patch dietlibc-patches/038-fflush-NULL-don-t-flush-input-streams-stdin.diff dietlibc-patches/039-Avoid-fno-pic-on-mips-mipsel-libgcc.a-is-compiled-w.diff dietlibc-patches/040-Do-not-clobber-HOME-environment-variable.diff dietlibc-patches/041-Don-t-define-WANT_SSP.diff dietlibc-patches/042-parisc-clone.S-fix-build-failure-on-hppa.diff dietlibc-patches/043-semctl.S-semget.S-semop.s-for-parisc.diff dietlibc-patches/044-Use-syscall-_newselect-instead-of-select-on-ppc.diff' # allow an emtpy header usr/lib/dietlibc/include/netinet/in_systm.h # to be installed -it may be a dummy or place-marker ALLOW_EMPTY_FILES=YES # 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 # fix_pkg_perms strip_bins create_docs compress_man_pages make_description make_doinst make_package post_process ## See the documentation for more help and examples. Below are some of # the most common Extras and Options for easy cut-and-paste use. # DOCLIST='' PATCHLIST='' INSTALL_TYPE='' # CONFIG_COMMAND='' MAKE_COMMAND='' INSTALL_LINE='' # When editing src2pkg scripts to add custom code, use these variables # to refer to the current directory, the sources or the package tree: # $CWD (current directory), $SRC_DIR (sources), $PKG_DIR (package tree) # Other commonly-used directories include: $DOC_DIR (document directory) # $MAN_DIR (man-page directory) $DATA_DIR (shared-data directory)