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 $*

12
gzip/meta/pkgdef Normal file
View File

@ -0,0 +1,12 @@
[gzip]
pkgname="${pkgprefix}${topdir}"
name="$topdir - GNU gzip"
pkgcat="application"
pkgvendor="http://www.gzip.org"
shortdesc="The GNU data compression program"
pkgver="$pkgver"
files(-,root,bin)
default_docs
$_bindir
$_infodir
$_mandir

27
gzip/meta/relnotes Normal file
View File

@ -0,0 +1,27 @@
PACKAGE DETAILS
---------------
Name: %%PKGNAME%%
Version: %%SOURCE_AND_VER%%
Vendor: %%VENDOR%%
Packager: %%PKGEDBY%%
Source (sha1sum):
%%SOURCE_SHA1SUM%%
BUILD DETAILS
-------------
Compiler:
%%COMPILER%%
Environment:
%%ENVIRONMENT%%
Configure:
%%CONFIGURE%%
KNOWN DEPENDENCIES
------------------
%%DEPENDENCIES%%
ERRORS/MISCELLANEOUS
--------------------