forked from hasufell/hasufell-repository
universal-ctags: ::hasufell -> ::arbor
This commit is contained in:
parent
9a5c7d0216
commit
5568ba1a86
@ -1,51 +0,0 @@
|
||||
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require alternatives github [ user='universal-ctags' pn='ctags' ]
|
||||
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.16 ] ]
|
||||
|
||||
SUMMARY="Universal ctags"
|
||||
|
||||
LICENCES="GPL-2"
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
MYOPTIONS="
|
||||
json [[ description = [ Add support for JSON format as output ] ]]
|
||||
seccomp [[ description = [ Add support for libseccomp library ] ]]
|
||||
xml
|
||||
yaml [[ description = [ Add support for YAML format as output ] ]]
|
||||
"
|
||||
|
||||
DEPENDENCIES="
|
||||
build+run:
|
||||
json? ( dev-libs/jansson )
|
||||
seccomp? ( sys-libs/libseccomp )
|
||||
xml? ( dev-libs/libxml2:2.0[>=2.7.7] )
|
||||
yaml? ( dev-libs/libyaml )
|
||||
build:
|
||||
dev-python/docutils
|
||||
virtual/pkg-config
|
||||
"
|
||||
|
||||
# input-encoding-option and output-encoding-option fail as of 20-03-2020
|
||||
RESTRICT="test"
|
||||
|
||||
DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=(
|
||||
'json'
|
||||
'seccomp'
|
||||
'xml'
|
||||
'yaml'
|
||||
)
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# alternatives collision
|
||||
edo mv "${IMAGE}"/usr/$(exhost --target)/bin/{ctags,universal-ctags}
|
||||
edo mv "${IMAGE}"/usr/share/man/man1/{ctags,universal-ctags}.1
|
||||
|
||||
alternatives_for ctags universal-ctags 500 \
|
||||
/usr/$(exhost --target)/bin/ctags universal-ctags \
|
||||
/usr/share/man/man1/ctags.1 universal-ctags.1
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user