wok view gtklife/receipt @ rev 23042
gcc83-lib-base: add /usr/libgcc83/libstdc++.la
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 05 12:13:42 2020 +0100 (2020-03-05) |
parents | 17e313b5b9c1 |
children | af8d823a3077 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gtklife"
4 VERSION="5.2"
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="http://ironphoenix.org/gtklife/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://ironphoenix.org/$PACKAGE/$TARBALL"
14 DEPENDS="gtk+ xorg-libXdamage"
15 BUILD_DEPENDS="gtk+-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
22 ./configure \
23 --prefix=/usr \
24 --bindir=/usr/games \
25 --with-gtk2 \
26 $CONFIGURE_ARGS &&
27 make || return 1
29 mkdir -p \
30 $DESTDIR/usr/games \
31 $DESTDIR/usr/share/gtklife
32 cp -a graphics $DESTDIR/usr/share/gtklife
33 cp -a patterns $DESTDIR/usr/share/gtklife
34 cp gtklife $DESTDIR/usr/games
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cp -a $install/* $fs
41 }