wok view libcaca/receipt @ rev 17895
Up gnome-commander-i18n (1.4.5)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 02 17:28:23 2015 +0200 (2015-04-02) |
parents | |
children | 041eb61121a1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libcaca"
4 VERSION="0.99.beta18"
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
25 # hack for missing iso8859-1 folder
26 cook xorg-libX11
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
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 }