less 4.18
This commit is contained in:
parent
7a3e0332b7
commit
f5994ee2b6
64
less/build.sh
Executable file
64
less/build.sh
Executable 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 $*
|
11
less/meta/pkgdef
Normal file
11
less/meta/pkgdef
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
[less]
|
||||||
|
pkgname="${pkgprefix}${topdir}"
|
||||||
|
name="$topdir - The less pager"
|
||||||
|
pkgcat="application"
|
||||||
|
pkgvendor="http://www.greenwoodsoftware.com/less/"
|
||||||
|
shortdesc="Less is more"
|
||||||
|
pkgver="$pkgver"
|
||||||
|
files(-,root,bin)
|
||||||
|
default_docs
|
||||||
|
$_bindir
|
||||||
|
$_mandir
|
27
less/meta/relnotes
Normal file
27
less/meta/relnotes
Normal 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
|
||||||
|
--------------------
|
Loading…
x
Reference in New Issue
Block a user