wok-next view libcaca/receipt @ rev 20570
More fix libtool; audit: apply patch.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 13 09:28:50 2018 +0300 (2018-04-13) |
parents | 15a7fc13b44d |
children | 0ec6086e21d6 |
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 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure $CONFIGURE_ARGS && make && make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 case $PACKAGE in
28 libcaca)
29 copy @std
30 rm -rf $fs/usr/lib/python2.7/
31 DEPENDS="imlib2 ncurses xorg-libX11 zlib"
32 ;;
33 python-caca)
34 copy *.py
35 DEPENDS="libcaca python"
36 ;;
37 *-dev)
38 copy @dev
39 DEPENDS="libcaca python-caca ncurses-dev xorg-libX11-dev \
40 xorg-libXau-dev xorg-libXdmcp-dev xorg-libxcb-dev zlib-dev"
41 ;;
42 esac
43 }