wok annotate libcaca/receipt @ rev 24254

updated perl-test-compile (2.4.0 -> 3.0.1)
author Hans-G?nter Theisgen
date Sun Jan 02 09:57:13 2022 +0100 (2022-01-02)
parents 15a7fc13b44d
children ede1d184d5c5
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
paul@16102 26 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@16102 27 genpkg_rules()
paul@16102 28 {
pascal@19805 29 # hack for missing iso8859-1 folder
pascal@19805 30 cook xorg-libX11
pascal@19805 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