wok annotate libcaca/receipt @ rev 19760
Up: libpng+apng (1.6.28)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sun Feb 19 09:20:46 2017 +0000 (2017-02-19) |
parents | 041eb61121a1 |
children | 3854832faad3 |
rev | line source |
---|---|
paul@16102 | 1 # SliTaz package receipt. |
paul@16102 | 2 |
paul@16102 | 3 PACKAGE="libcaca" |
paul@18622 | 4 VERSION="0.99.beta19" |
paul@16102 | 5 CATEGORY="graphics" |
paul@16102 | 6 SHORT_DESC="Text mode graphics utilities." |
paul@16102 | 7 MAINTAINER="paul@slitaz.org" |
paul@16102 | 8 LICENSE="GPL2" |
paul@16102 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@16102 | 10 WEB_SITE="http://caca.zoy.org/wiki/libcaca" |
paul@16102 | 11 WGET_URL="http://caca.zoy.org/files/libcaca/$TARBALL" |
paul@16102 | 12 |
paul@16102 | 13 DEPENDS="ncurses imlib2" |
paul@16102 | 14 BUILD_DEPENDS="ncurses-dev imlib2-dev xorg-libX11-dev" |
paul@16102 | 15 |
paul@16102 | 16 # Rules to configure and make the package. |
paul@16102 | 17 compile_rules() |
paul@16102 | 18 { |
paul@16102 | 19 cd $src |
paul@16102 | 20 ./configure --prefix=/usr \ |
paul@16102 | 21 $CONFIGURE_ARGS && |
paul@16102 | 22 make |
paul@16102 | 23 make DESTDIR=$DESTDIR install |
paul@16102 | 24 |
paul@16102 | 25 # hack for missing iso8859-1 folder |
paul@16102 | 26 cook xorg-libX11 |
paul@16102 | 27 } |
paul@16102 | 28 |
paul@16102 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@16102 | 30 genpkg_rules() |
paul@16102 | 31 { |
paul@16102 | 32 mkdir -p $fs/usr/lib $fs/usr/share/X11/locale |
paul@16102 | 33 cp -a $install/usr/bin $fs/usr |
paul@16102 | 34 cp -a $install/usr/lib/*.so* $fs/usr/lib |
paul@18624 | 35 #cp -a $install/usr/lib/jni $fs/usr/lib |
paul@16102 | 36 cp -a $install/usr/share $fs/usr |
paul@16102 | 37 rm -rf $fs/usr/share/man |
paul@16102 | 38 # hack for missing iso8859-1 folder |
paul@16102 | 39 cp -a $WOK/xorg-libX11/install/usr/share/X11/locale/iso8859-1 \ |
paul@16102 | 40 $fs/usr/share/X11/locale |
paul@16102 | 41 } |
paul@16102 | 42 |