less 4.18

This commit is contained in:
Tom G. Christensen
2008-04-26 11:39:09 +00:00
committed by tgc
parent 7a3e0332b7
commit f5994ee2b6
3 changed files with 102 additions and 0 deletions

64
less/build.sh Executable file
View File

@@ -0,0 +1,64 @@
#!/bin/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=less
version=418
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
configure_args="$configure_args --with-editor=/bin/vi"
reg prep
prep()
{
generic_prep
}
reg build
build()
{
generic_build
}
reg check
check()
{
generic_check
}
reg install
install()
{
generic_install DESTDIR
doc NEWS LICENSE README COPYING
}
reg pack
pack()
{
generic_pack
}
reg distclean
distclean()
{
clean distclean
}
###################################################
# No need to look below here
###################################################
build_sh $*