wok-current diff sc-im/receipt @ rev 19603

Up kmod (23)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 03 14:47:54 2017 +0100 (2017-01-03)
parents eaad6c4ccbaa
children ca1e8136c35e
line diff
     1.1 --- a/sc-im/receipt	Sat Dec 03 21:08:29 2016 +0000
     1.2 +++ b/sc-im/receipt	Tue Jan 03 14:47:54 2017 +0100
     1.3 @@ -9,21 +9,17 @@
     1.4  WEB_SITE="https://github.com/andmarti1424/sc-im"
     1.5  WGET_URL="git|git://github.com/andmarti1424/sc-im"
     1.6  
     1.7 -DEPENDS="ncurses libtinfo"
     1.8 -BUILD_DEPENDS="ncurses-dev git bzip2 bison flex"
     1.9 +DEPENDS="ncursesw"
    1.10 +BUILD_DEPENDS="git ncursesw-dev bison"
    1.11  
    1.12  # Rules to configure and make the package.
    1.13  compile_rules()
    1.14  {
    1.15  	cd $src/src
    1.16 -	sed -i 's|ncursesw/curses|curses|' *.c *.h
    1.17 -	make -j1
    1.18 -	make DESTDIR=$DESTDIR install
    1.19 +	make -j1 && make install
    1.20  }
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22  genpkg_rules()
    1.23  {
    1.24 -	mkdir -p $fs/usr/share
    1.25 -	cp -a $install/usr/bin $fs/usr 
    1.26 -	cp -a $install/usr/share/scim $fs/usr/share
    1.27 +	cook_copy_files scim scim_help
    1.28  }