diff options
author | Michael 'Mickey' Lauer <mickey@vanille-media.de> | 2009-02-27 00:23:48 +0100 |
---|---|---|
committer | Michael 'Mickey' Lauer <mickey@vanille-media.de> | 2009-02-27 00:23:48 +0100 |
commit | 43fa438235fe9db3d42ef1e6423e14901b3a308f (patch) | |
tree | c740ad789fffc80fbc86198eba6eea34b547d9ea /packages/ncurses/ncurses.inc | |
parent | 95d534d361b77894de0fe0ee6e5c1f96b60de211 (diff) |
ncurses: modernize and fix packaging problems
Diffstat (limited to 'packages/ncurses/ncurses.inc')
-rw-r--r-- | packages/ncurses/ncurses.inc | 70 |
1 files changed, 45 insertions, 25 deletions
diff --git a/packages/ncurses/ncurses.inc b/packages/ncurses/ncurses.inc index 6d35467d8a..76a8ff0c3c 100644 --- a/packages/ncurses/ncurses.inc +++ b/packages/ncurses/ncurses.inc @@ -3,38 +3,28 @@ HOMEPAGE = "http://www.gnu.org/software/ncurses/ncurses.html" LICENSE = "MIT" SECTION = "libs" DEPENDS = "ncurses-native" -PACKAGES_prepend = "ncurses-tools " -PACKAGES_append = " ncurses-terminfo" -FILES_ncurses_append = " ${datadir}/tabset" -RSUGGESTS_${PN} = "ncurses-terminfo" -RPROVIDES_${PN} = "libncurses5" -RCONFLICTS_${PN} = "libncurses5" -RREPLACES_${PN} = "libncurses5" inherit autotools -# This keeps only tput/tset in ncurses -# clear/reset are in already busybox -FILES_ncurses-tools = "${bindir}/tic ${bindir}/toe ${bindir}/infotocap ${bindir}/captoinfo ${bindir}/infocmp ${bindir}/clear.${PN} ${bindir}/reset.${PN} ${bindir}/tack " -FILES_ncurses-terminfo = "${datadir}/terminfo" -FILES_${PN} = "${bindir}/tput ${bindir}/tset ${libdir}/lib*.so.* usr/share/tabset etc/terminfo" - PARALLEL_MAKE="" FILESPATH = "${FILE_DIRNAME}/local:${FILE_DIRNAME}/ncurses-${PV}-${PR}:${FILE_DIRNAME}/ncurses-${PV}:${FILE_DIRNAME}/ncurses:${FILE_DIRNAME}" -EXTRA_OECONF = "--with-shared \ - --with-libtool \ - --without-profile \ - --without-debug \ - --disable-rpath \ - --enable-echo \ - --enable-const \ - --without-ada \ - --enable-termcap \ - --without-cxx-binding \ - --with-terminfo-dirs=${sysconfdir}/terminfo:${datadir}/terminfo \ - --enable-overwrite" +EXTRA_OECONF = "\ + --with-shared \ + --with-libtool \ + --without-profile \ + --without-debug \ + --disable-rpath \ + --enable-echo \ + --enable-const \ + --without-ada \ + --enable-termcap \ + --without-cxx-binding \ + --with-terminfo-dirs=${sysconfdir}/terminfo:${datadir}/terminfo \ + --enable-overwrite \ +" + export BUILD_CCFLAGS = "-I${S}/ncurses -I${S}/include ${BUILD_CFLAGS}" export BUILD_LDFLAGS = "" export EXTRA_OEMAKE = '"BUILD_LDFLAGS=" "BUILD_CCFLAGS=${BUILD_CCFLAGS}"' @@ -100,3 +90,33 @@ pkg_prerm_ncurses-tools () { update-alternatives --remove reset reset.${PN} fi } + +PACKAGES =+ "${PN}-tools ${PN}-terminfo" + +# clear and reset are already in busybox +FILES_${PN} = "\ + ${bindir}/tput \ + ${bindir}/tset \ + ${libdir}/lib*.so.* \ + ${datadir}/tabset \ + ${sysconfdir}/terminfo \ +" +FILES_${PN}-tools = "\ + ${bindir}/tic \ + ${bindir}/toe \ + ${bindir}/infotocap \ + ${bindir}/captoinfo \ + ${bindir}/infocmp \ + ${bindir}/clear.${PN} \ + ${bindir}/reset.${PN} \ + ${bindir}/tack \ +" +FILES_${PN}-terminfo = "\ + ${datadir}/terminfo \ +" + +RSUGGESTS_${PN} = "ncurses-terminfo" +RPROVIDES_${PN} = "libncurses5" +RCONFLICTS_${PN} = "libncurses5" +RREPLACES_${PN} = "libncurses5" + |