wok view gtklife/receipt @ rev 25707
Up perl-net-pcap (0.21), qtermwidget (0.5.1), youtube-dl-gui (0.3.8)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 05 14:08:34 2024 +0000 (3 months ago) |
parents | af8d823a3077 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="gtklife"
4 VERSION="5.3"
5 CATEGORY="games"
6 SHORT_DESC="Fast, featureful, open-source Conway's Life program."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://homeforaday.org/gtklife/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}$TARBALL"
14 DEPENDS="gtk+ xorg-libXdamage"
15 BUILD_DEPENDS="gtk+-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 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 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
29 ./configure \
30 --prefix=/usr \
31 --bindir=/usr/games \
32 --with-gtk2 \
33 $CONFIGURE_ARGS &&
34 make || return 1
36 mkdir -p \
37 $DESTDIR/usr/games \
38 $DESTDIR/usr/share/gtklife
39 cp -a graphics $DESTDIR/usr/share/gtklife
40 cp -a patterns $DESTDIR/usr/share/gtklife
41 cp gtklife $DESTDIR/usr/games
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 cp -a $install/* $fs
48 }