wok-current view ncursesw-dev/receipt @ rev 25701

Fix dep for libglamoregl.so (libepoxy), and miss file for amdgpu (thanks alanyih)
author Stanislas Leduc <shann@slitaz.org>
date Fri Apr 19 12:48:51 2024 +0000 (8 weeks ago)
parents d93a872413c7
children
line source
1 # SliTaz package receipt.
3 PACKAGE="ncursesw-dev"
4 VERSION="6.3"
5 CATEGORY="development"
6 SHORT_DESC="Development files for the ncursesw library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.gnu.org/software/ncurses/ncurses.html"
11 DEPENDS="ncursesw"
12 WANTED="ncursesw"
14 HOST_ARCH="i486 arm"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 mkdir -p $fs/lib
20 mkdir -p $fs/usr/bin
21 mkdir -p $fs/usr/lib
23 cp -a $install/lib/*.a $fs/lib
24 # Include files are from the same source than ncurses-dev and work
25 # nicely for both.
26 cp -a $install/usr/include $fs/usr
27 cp $install/usr/bin/ncursesw6-config $fs/usr/bin
28 # seem race condition, cook put pkgconfig in /usr/share or /usr/lib
29 if [ -d $install/usr/lib/pkgconfig ]; then
30 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
31 else
32 cp -a $install/usr/share/pkgconfig $fs/usr/lib
33 fi
34 }