GNU gzip 1.3.12

This commit is contained in:
Tom G. Christensen
2008-04-26 12:06:40 +00:00
committed by tgc
parent f5994ee2b6
commit 94116d10bf
3 changed files with 107 additions and 0 deletions

68
gzip/build.sh Executable file
View File

@@ -0,0 +1,68 @@
#!/bin/env bash
#
# This is a generic build.sh script
# It can be used nearly unmodified with many packages
#
# build.sh helper functions
. ${BUILDPKG_BASE}/scripts/build.sh.functions
#
###########################################################
# Check the following 4 variables before running the script
topdir=gzip
version=1.3.12
pkgver=1
source[0]=$topdir-$version.tar.gz
# If there are no patches, simply comment this
#patch[0]=
# Source function library
. ${BUILDPKG_BASE}/scripts/buildpkg.functions
# Global settings
export CPPFLAGS="-I$prefix/include"
export LDFLAGS="-L$prefix/lib -R$prefix/lib"
reg prep
prep()
{
generic_prep
# Try ksh before bash when looking for POSIX compliant shell
setdir source
${__gsed} -i 's/bash ksh/ksh bash/' configure
}
reg build
build()
{
generic_build
}
reg check
check()
{
generic_check
}
reg install
install()
{
generic_install DESTDIR
doc COPYING AUTHORS TODO NEWS README README-alpha ChangeLog
}
reg pack
pack()
{
generic_pack
}
reg distclean
distclean()
{
clean distclean
}
###################################################
# No need to look below here
###################################################
build_sh $*