wok-next annotate libcaca/receipt @ rev 20549

gimp: tiny edits
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Apr 04 17:32:49 2018 +0300 (2018-04-04)
parents 15a7fc13b44d
children 0ec6086e21d6
rev   line source
al@19829 1 # SliTaz package receipt v2.
paul@16102 2
paul@16102 3 PACKAGE="libcaca"
paul@18622 4 VERSION="0.99.beta19"
paul@16102 5 CATEGORY="graphics"
al@19829 6 SHORT_DESC="Text mode graphics utilities"
paul@16102 7 MAINTAINER="paul@slitaz.org"
paul@16102 8 LICENSE="GPL2"
al@19829 9 WEB_SITE="http://caca.zoy.org/wiki/libcaca"
al@19829 10
paul@16102 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
paul@16102 12 WGET_URL="http://caca.zoy.org/files/libcaca/$TARBALL"
paul@16102 13
al@19829 14 BUILD_DEPENDS="zlib-dev xorg-libX11-dev mesa-dev ncurses-dev python imlib2-dev \
al@19829 15 pango-dev doxygen cppunit-dev"
al@19829 16 SPLIT="python-caca libcaca-dev"
paul@16102 17
paul@16102 18 # Rules to configure and make the package.
paul@16102 19 compile_rules()
paul@16102 20 {
al@19829 21 ./configure $CONFIGURE_ARGS && make && make install
paul@16102 22 }
paul@16102 23
paul@16102 24 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@16102 25 genpkg_rules()
paul@16102 26 {
al@19829 27 case $PACKAGE in
al@19829 28 libcaca)
al@19829 29 copy @std
al@19829 30 rm -rf $fs/usr/lib/python2.7/
al@19829 31 DEPENDS="imlib2 ncurses xorg-libX11 zlib"
al@19829 32 ;;
al@19829 33 python-caca)
al@19829 34 copy *.py
al@19829 35 DEPENDS="libcaca python"
al@19829 36 ;;
al@19829 37 *-dev)
al@19829 38 copy @dev
al@19829 39 DEPENDS="libcaca python-caca ncurses-dev xorg-libX11-dev \
al@19829 40 xorg-libXau-dev xorg-libXdmcp-dev xorg-libxcb-dev zlib-dev"
al@19829 41 ;;
al@19829 42 esac
paul@16102 43 }