wok-current diff libcaca/receipt @ rev 18056
Up: cookutils, cookutils-daemon (737).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 15 16:51:30 2015 +0300 (2015-05-15) |
parents | |
children | 041eb61121a1 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libcaca/receipt Fri May 15 16:51:30 2015 +0300 1.3 @@ -0,0 +1,42 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="libcaca" 1.7 +VERSION="0.99.beta18" 1.8 +CATEGORY="graphics" 1.9 +SHORT_DESC="Text mode graphics utilities." 1.10 +MAINTAINER="paul@slitaz.org" 1.11 +LICENSE="GPL2" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://caca.zoy.org/wiki/libcaca" 1.14 +WGET_URL="http://caca.zoy.org/files/libcaca/$TARBALL" 1.15 + 1.16 +DEPENDS="ncurses imlib2" 1.17 +BUILD_DEPENDS="ncurses-dev imlib2-dev xorg-libX11-dev" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + cd $src 1.23 + ./configure --prefix=/usr \ 1.24 + $CONFIGURE_ARGS && 1.25 + make 1.26 + make DESTDIR=$DESTDIR install 1.27 + 1.28 + # hack for missing iso8859-1 folder 1.29 + cook xorg-libX11 1.30 +} 1.31 + 1.32 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.33 +genpkg_rules() 1.34 +{ 1.35 + mkdir -p $fs/usr/lib $fs/usr/share/X11/locale 1.36 + cp -a $install/usr/bin $fs/usr 1.37 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.38 + cp -a $install/usr/lib/jni $fs/usr/lib 1.39 + cp -a $install/usr/share $fs/usr 1.40 + rm -rf $fs/usr/share/man 1.41 + # hack for missing iso8859-1 folder 1.42 + cp -a $WOK/xorg-libX11/install/usr/share/X11/locale/iso8859-1 \ 1.43 + $fs/usr/share/X11/locale 1.44 +} 1.45 +