wok-current rev 16102
Add libcaca (hopefully)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Tue Mar 18 20:06:52 2014 +0000 (2014-03-18) |
parents | a08284cf9e61 |
children | 1a0b3262dccf |
files | libcaca-dev/receipt libcaca/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libcaca-dev/receipt Tue Mar 18 20:06:52 2014 +0000 1.3 @@ -0,0 +1,22 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="libcaca-dev" 1.7 +VERSION="0.99.beta18" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Text mode graphics utilities development files." 1.10 +MAINTAINER="paul@slitaz.org" 1.11 +LICENSE="GPL2" 1.12 +WEB_SITE="http://caca.zoy.org/wiki/libcaca" 1.13 +WANTED="libcaca" 1.14 + 1.15 +DEPENDS="libcaca" 1.16 + 1.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.18 +genpkg_rules() 1.19 +{ 1.20 + mkdir -p $fs/usr/lib 1.21 + cp -a $install/usr/include $fs/usr 1.22 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.23 + cp -a $install/usr/lib/*a $fs/usr/lib 1.24 +} 1.25 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/libcaca/receipt Tue Mar 18 20:06:52 2014 +0000 2.3 @@ -0,0 +1,42 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="libcaca" 2.7 +VERSION="0.99.beta18" 2.8 +CATEGORY="graphics" 2.9 +SHORT_DESC="Text mode graphics utilities." 2.10 +MAINTAINER="paul@slitaz.org" 2.11 +LICENSE="GPL2" 2.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.13 +WEB_SITE="http://caca.zoy.org/wiki/libcaca" 2.14 +WGET_URL="http://caca.zoy.org/files/libcaca/$TARBALL" 2.15 + 2.16 +DEPENDS="ncurses imlib2" 2.17 +BUILD_DEPENDS="ncurses-dev imlib2-dev xorg-libX11-dev" 2.18 + 2.19 +# Rules to configure and make the package. 2.20 +compile_rules() 2.21 +{ 2.22 + cd $src 2.23 + ./configure --prefix=/usr \ 2.24 + $CONFIGURE_ARGS && 2.25 + make 2.26 + make DESTDIR=$DESTDIR install 2.27 + 2.28 + # hack for missing iso8859-1 folder 2.29 + cook xorg-libX11 2.30 +} 2.31 + 2.32 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.33 +genpkg_rules() 2.34 +{ 2.35 + mkdir -p $fs/usr/lib $fs/usr/share/X11/locale 2.36 + cp -a $install/usr/bin $fs/usr 2.37 + cp -a $install/usr/lib/*.so* $fs/usr/lib 2.38 + cp -a $install/usr/lib/jni $fs/usr/lib 2.39 + cp -a $install/usr/share $fs/usr 2.40 + rm -rf $fs/usr/share/man 2.41 + # hack for missing iso8859-1 folder 2.42 + cp -a $WOK/xorg-libX11/install/usr/share/X11/locale/iso8859-1 \ 2.43 + $fs/usr/share/X11/locale 2.44 +} 2.45 +