wok view libcaca/receipt @ rev 24475

updated dfu-util (0.9 -> 0.11)
author Hans-G?nter Theisgen
date Thu Feb 17 17:41:58 2022 +0100 (2022-02-17)
parents 3854832faad3
children dac38080ab6b
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 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 ./configure --prefix=/usr \
28 $CONFIGURE_ARGS &&
29 make
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 # hack for missing iso8859-1 folder
37 cook xorg-libX11
39 mkdir -p $fs/usr/lib $fs/usr/share/X11/locale
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 #cp -a $install/usr/lib/jni $fs/usr/lib
43 cp -a $install/usr/share $fs/usr
44 rm -rf $fs/usr/share/man
45 # hack for missing iso8859-1 folder
46 cp -a $WOK/xorg-libX11/install/usr/share/X11/locale/iso8859-1 \
47 $fs/usr/share/X11/locale
48 }