SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "ncursesw-dev"

# SliTaz package receipt.

PACKAGE="ncursesw-dev"
VERSION="6.3"
CATEGORY="development"
SHORT_DESC="Development files for the ncursesw library."
MAINTAINER="pankso@slitaz.org"
LICENSE="MIT"
WEB_SITE="https://www.gnu.org/software/ncurses/ncurses.html"

DEPENDS="ncursesw"
WANTED="ncursesw"

HOST_ARCH="i486 arm"

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/lib
    mkdir -p $fs/usr/bin
    mkdir -p $fs/usr/lib

    cp -a $install/lib/*.a            $fs/lib
    # Include files are from the same source than ncurses-dev and work
    # nicely for both.
    cp -a $install/usr/include        $fs/usr
    cp $install/usr/bin/ncursesw6-config    $fs/usr/bin
    # seem race condition, cook put pkgconfig in /usr/share or /usr/lib
    if [ -d $install/usr/lib/pkgconfig ]; then
        cp -a $install/usr/lib/pkgconfig    $fs/usr/lib
    else
        cp -a $install/usr/share/pkgconfig    $fs/usr/lib
    fi
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)