ncurses: fix cross build.
This commit is contained in:
parent
c72fcf6566
commit
c7fbe1ff89
1 changed files with 25 additions and 25 deletions
|
@ -98,30 +98,6 @@ ncurses_package() {
|
|||
}
|
||||
}
|
||||
|
||||
ncurses-base_package() {
|
||||
short_desc+=" -- base terminfo files"
|
||||
noarch=yes
|
||||
|
||||
pkg_install() {
|
||||
cat ${FILESDIR}/base-files | while read line; do
|
||||
vmove ${line}
|
||||
done
|
||||
}
|
||||
}
|
||||
|
||||
ncurses-term_package() {
|
||||
depends="ncurses-base>=${version}"
|
||||
short_desc+=" -- full terminal descriptions"
|
||||
noarch=yes
|
||||
|
||||
pkg_install() {
|
||||
vmove usr/share/tabset
|
||||
vmove usr/share/terminfo
|
||||
}
|
||||
}
|
||||
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
|
||||
ncurses-libs_package() {
|
||||
short_desc+=" -- shared libraries"
|
||||
replaces="ncursesw>=0"
|
||||
|
@ -144,4 +120,28 @@ ncurses-devel_package() {
|
|||
}
|
||||
}
|
||||
|
||||
fi
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
|
||||
ncurses-base_package() {
|
||||
short_desc+=" -- base terminfo files"
|
||||
noarch=yes
|
||||
|
||||
pkg_install() {
|
||||
cat ${FILESDIR}/base-files | while read line; do
|
||||
vmove ${line}
|
||||
done
|
||||
}
|
||||
}
|
||||
|
||||
ncurses-term_package() {
|
||||
depends="ncurses-base>=${version}"
|
||||
short_desc+=" -- full terminal descriptions"
|
||||
noarch=yes
|
||||
|
||||
pkg_install() {
|
||||
vmove usr/share/tabset
|
||||
vmove usr/share/terminfo
|
||||
}
|
||||
}
|
||||
|
||||
fi # !CROSS_BUILD
|
||||
|
|
Loading…
Reference in a new issue