wok-current diff ncursesw-dev/receipt @ rev 7909
Added DESTDIR=PWD/_pkg to attr. Needed for it to make packages.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Jan 09 12:03:10 2011 +0000 (2011-01-09) |
parents | |
children | be13f25e790b |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/ncursesw-dev/receipt Sun Jan 09 12:03:10 2011 +0000 1.3 @@ -0,0 +1,22 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="ncursesw-dev" 1.7 +VERSION="5.7" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Devel files for the ncursesw library." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +WANTED="ncursesw" 1.12 +WEB_SITE="http://invisible-island.net/ncurses/" 1.13 + 1.14 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.15 +genpkg_rules() 1.16 +{ 1.17 + _pkg=$WOK/$WANTED/ncurses-$VERSION/_pkg 1.18 + mkdir -p $fs/lib $fs/usr/bin 1.19 + cp -a $_pkg/lib/*.a $fs/lib 1.20 + # Include files have the same name as ncuses-dev but seems 1.21 + # to work for both. 1.22 + cp -a $_pkg/usr/include $fs/usr 1.23 + cp $_pkg/usr/bin/ncursesw5-config $fs/usr/bin 1.24 + chmod 755 $fs/usr/bin/* 1.25 +}