ncurses: fix cross build.

This commit is contained in:
Juan RP 2013-04-18 15:18:18 +02:00
parent c72fcf6566
commit c7fbe1ff89

View file

@ -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() { ncurses-libs_package() {
short_desc+=" -- shared libraries" short_desc+=" -- shared libraries"
replaces="ncursesw>=0" 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