wok-next view libcaca/receipt @ rev 20634
oxine: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 27 12:51:30 2018 +0200 (2018-04-27) |
parents | fb478984fbc8 |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libcaca"
4 VERSION="0.99.beta19"
5 CATEGORY="graphics"
6 SHORT_DESC="Text mode graphics utilities"
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://caca.zoy.org/wiki/libcaca"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://caca.zoy.org/files/libcaca/$TARBALL"
14 BUILD_DEPENDS="zlib-dev xorg-libX11-dev mesa-dev ncurses-dev python imlib2-dev \
15 pango-dev doxygen cppunit-dev"
16 SPLIT="python-caca libcaca-dev"
18 compile_rules() {
19 ./configure $CONFIGURE_ARGS &&
20 fix libtool &&
21 make &&
22 make install
23 }
25 genpkg_rules() {
26 case $PACKAGE in
27 libcaca)
28 copy @std
29 rm -rf $fs/usr/lib/python2.7/
30 DEPENDS="imlib2 ncurses xorg-libX11 zlib"
31 ;;
32 python-caca)
33 copy *.py
34 DEPENDS="libcaca python"
35 ;;
36 *-dev)
37 copy @dev
38 DEPENDS="libcaca python-caca ncurses-dev xorg-libX11-dev \
39 xorg-libXau-dev xorg-libXdmcp-dev xorg-libxcb-dev zlib-dev"
40 ;;
41 esac
42 }