wok-current view libcaca/receipt @ rev 24988
Fix perl-gd & tcptrack
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 12 11:01:25 2022 +0000 (2022-05-12) |
parents | ede1d184d5c5 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libcaca"
4 VERSION="0.99.beta20"
5 CATEGORY="graphics"
6 SHORT_DESC="Text mode graphics utilities."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://caca.zoy.org/wiki/libcaca"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/cacalabs/$PACKAGE/archive/refs/tags/v$VERSION.tar.gz"
14 DEPENDS="imlib2 ncurses"
15 BUILD_DEPENDS="automake imlib2-dev libtool ncurses-dev xorg-libX11-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./bootstrap &&
28 ./configure \
29 --prefix=/usr \
30 $CONFIGURE_ARGS &&
31 make &&
32 make install DESTDIR=$DESTDIR
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 # hack for missing iso8859-1 folder
39 # cook xorg-libX11
41 mkdir -p $fs/usr/lib
42 # mkdir -p $fs/usr/share/X11/locale
44 cp -a $install/usr/bin $fs/usr
45 cp -a $install/usr/lib/*.so* $fs/usr/lib
46 #cp -a $install/usr/lib/jni $fs/usr/lib
47 cp -a $install/usr/share $fs/usr
48 rm -rf $fs/usr/share/man
49 # hack for missing iso8859-1 folder
50 # cp -a $WOK/xorg-libX11/install/usr/share/X11/locale/iso8859-1 \
51 # $fs/usr/share/X11/locale
52 # really needed?
53 }