# HG changeset patch # User Aleksej Bobylev # Date 1480943770 -7200 # Node ID 1feee7ca564d22cb5b0bc9352064475510d88838 # Parent 54759b13f3b3bbcdd16dc639627d86c31811b305 Build *.pc files for ncurses(w)-dev; rebuild sc-im with ncursesw.pc diff -r 54759b13f3b3 -r 1feee7ca564d ncurses-dev/receipt --- a/ncurses-dev/receipt Mon Dec 05 04:55:00 2016 +0200 +++ b/ncurses-dev/receipt Mon Dec 05 15:16:10 2016 +0200 @@ -15,10 +15,10 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/lib $fs/usr/bin + mkdir -p $fs/lib $fs/usr/bin $fs/usr/lib cp -a $install/lib/*.a $fs/lib # Use include file from ncursesw-dev #cp -a $install/usr/include $fs/usr cp $install/usr/bin/ncurses5-config $fs/usr/bin - chmod 755 $fs/usr/bin/* + cp -a $install/usr/lib/pkgconfig $fs/usr/lib } diff -r 54759b13f3b3 -r 1feee7ca564d ncurses/receipt --- a/ncurses/receipt Mon Dec 05 04:55:00 2016 +0200 +++ b/ncurses/receipt Mon Dec 05 15:16:10 2016 +0200 @@ -13,6 +13,8 @@ DEPENDS="ncurses-common libtinfo libtic" BUILD_DEPENDS="" +SPLIT="ncurses-common ncurses-extra ncurses-dev ncurses-man libform libmenu \ +libpanel libtic libtinfo" # Rules to configure and make the package. compile_rules() @@ -40,6 +42,7 @@ --with-build-cc="gcc -D_GNU_SOURCE" \ --with-termlib \ --with-ticlib \ + --enable-pc-files \ $CONFIGURE_ARGS && make && make install } diff -r 54759b13f3b3 -r 1feee7ca564d ncursesw-dev/receipt --- a/ncursesw-dev/receipt Mon Dec 05 04:55:00 2016 +0200 +++ b/ncursesw-dev/receipt Mon Dec 05 15:16:10 2016 +0200 @@ -15,11 +15,11 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/lib $fs/usr/bin + mkdir -p $fs/lib $fs/usr/bin $fs/usr/lib cp -a $install/lib/*.a $fs/lib # Include files are from the same source than ncuses-dev and work # nicely for both. cp -a $install/usr/include $fs/usr cp $install/usr/bin/ncursesw5-config $fs/usr/bin - chmod 755 $fs/usr/bin/* + cp -a $install/usr/lib/pkgconfig $fs/usr/lib } diff -r 54759b13f3b3 -r 1feee7ca564d ncursesw/receipt --- a/ncursesw/receipt Mon Dec 05 04:55:00 2016 +0200 +++ b/ncursesw/receipt Mon Dec 05 15:16:10 2016 +0200 @@ -44,6 +44,7 @@ --without-ada \ --enable-widec \ --with-build-cc="gcc -D_GNU_SOURCE" \ + --enable-pc-files \ $CONFIGURE_ARGS && make && make install } diff -r 54759b13f3b3 -r 1feee7ca564d sc-im/receipt --- a/sc-im/receipt Mon Dec 05 04:55:00 2016 +0200 +++ b/sc-im/receipt Mon Dec 05 15:16:10 2016 +0200 @@ -9,21 +9,17 @@ WEB_SITE="https://github.com/andmarti1424/sc-im" WGET_URL="git|git://github.com/andmarti1424/sc-im" -DEPENDS="ncurses libtinfo" -BUILD_DEPENDS="ncurses-dev git bzip2 bison flex" +DEPENDS="ncursesw" +BUILD_DEPENDS="git ncursesw-dev bison" # Rules to configure and make the package. compile_rules() { cd $src/src - sed -i 's|ncursesw/curses|curses|' *.c *.h - make -j1 - make DESTDIR=$DESTDIR install + make -j1 && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/share - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/share/scim $fs/usr/share + cook_copy_files scim scim_help }