diff --git a/less/build.sh b/less/build.sh new file mode 100755 index 0000000..ec8a0e9 --- /dev/null +++ b/less/build.sh @@ -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 $* diff --git a/less/meta/pkgdef b/less/meta/pkgdef new file mode 100644 index 0000000..88209e9 --- /dev/null +++ b/less/meta/pkgdef @@ -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 diff --git a/less/meta/relnotes b/less/meta/relnotes new file mode 100644 index 0000000..bd83629 --- /dev/null +++ b/less/meta/relnotes @@ -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 +--------------------