@ -12,7 +12,8 @@ PKG_VERSION:=590
PKG_RELEASE := $( AUTORELEASE)
PKG_RELEASE := $( AUTORELEASE)
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE_URL := http://www.greenwoodsoftware.com/less
PKG_SOURCE_URL := @GNU/less \
http://www.greenwoodsoftware.com/less
PKG_HASH := 6aadf54be8bf57d0e2999a3c5d67b1de63808bb90deb8f77b028eafae3a08e10
PKG_HASH := 6aadf54be8bf57d0e2999a3c5d67b1de63808bb90deb8f77b028eafae3a08e10
PKG_LICENSE := GPL-3.0-or-later
PKG_LICENSE := GPL-3.0-or-later
@ -25,56 +26,23 @@ PKG_BUILD_PARALLEL:=1
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
d e f i n e P a c k a g e / l e s s / D e f a u l t
d e f i n e P a c k a g e / l e s s
SECTION:= utils
SECTION:= utils
CATEGORY:= Utilities
CATEGORY:= Utilities
TITLE:= Pager program similar to more
TITLE:= Pager program similar to more
URL:= http://www.greenwoodsoftware.com/less/
URL:= http://www.greenwoodsoftware.com/less/
ALTERNATIVES:= 200:/usr/bin/less:/usr/libexec/less-gnu
ALTERNATIVES:= 200:/usr/bin/less:/usr/libexec/less-gnu
e n d e f
d e f i n e P a c k a g e / l e s s / D e f a u l t / d e s c r i p t i o n
Full version of GNU less utility
e n d e f
d e f i n e P a c k a g e / l e s s
$( call Package/less/Default)
DEPENDS:= +libncurses
VARIANT:= narrow
e n d e f
d e f i n e P a c k a g e / l e s s / d e s c r i p t i o n
$( call Package/less/Default/description)
e n d e f
d e f i n e P a c k a g e / l e s s - w i d e
$( call Package/less/Default)
TITLE += ( Unicode)
DEPENDS:= +libncursesw
DEPENDS:= +libncursesw
VARIANT:= wide
PROVIDES:= less-wide
e n d e f
e n d e f
d e f i n e P a c k a g e / l e s s - w i d e / d e s c r i p t i o n
$( call Package/less/Default/description)
This package contains the Unicode enabled version of less.
d e f i n e P a c k a g e / l e s s / d e s c r i p t i o n
Full version of GNU less utility
e n d e f
e n d e f
i f e q ( $( BUILD_VARIANT ) , n a r r o w )
CONFIGURE_VARS += \
ac_cv_lib_ncursesw_initscr = no
e n d i f
i f e q ( $( BUILD_VARIANT ) , w i d e )
CONFIGURE_VARS += \
ac_cv_lib_ncursesw_initscr = yes
e n d i f
d e f i n e P a c k a g e / l e s s / i n s t a l l
d e f i n e P a c k a g e / l e s s / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/libexec
$( INSTALL_DIR) $( 1) /usr/libexec
$( CP) $( PKG_INSTALL_DIR) /usr/bin/less $( 1) /usr/libexec/less-gnu
$( CP) $( PKG_INSTALL_DIR) /usr/bin/less $( 1) /usr/libexec/less-gnu
e n d e f
e n d e f
P a c k a g e / l e s s - w i d e / install = $( Package/less/install)
$( eval $ ( call BuildPackage ,less ) )
$( eval $ ( call BuildPackage ,less ) )
$( eval $ ( call BuildPackage ,less -wide ) )