wok view libcaca/receipt @ rev 20462

Up opus (1.2.1), code2 (3890)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 10 19:23:16 2018 +0200 (2018-10-10)
parents 15a7fc13b44d
children ede1d184d5c5
line source
1 # SliTaz package receipt.
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://caca.zoy.org/wiki/libcaca"
11 WGET_URL="http://caca.zoy.org/files/libcaca/$TARBALL"
13 DEPENDS="ncurses imlib2"
14 BUILD_DEPENDS="ncurses-dev imlib2-dev xorg-libX11-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr \
21 $CONFIGURE_ARGS &&
22 make
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 # hack for missing iso8859-1 folder
30 cook xorg-libX11
32 mkdir -p $fs/usr/lib $fs/usr/share/X11/locale
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 #cp -a $install/usr/lib/jni $fs/usr/lib
36 cp -a $install/usr/share $fs/usr
37 rm -rf $fs/usr/share/man
38 # hack for missing iso8859-1 folder
39 cp -a $WOK/xorg-libX11/install/usr/share/X11/locale/iso8859-1 \
40 $fs/usr/share/X11/locale
41 }