wok-next view leocad/receipt @ rev 21557
updated cmark-gfm (0.28.3.gfm.19 -> 0.29.0.gfm.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jun 22 14:08:07 2020 +0100 (2020-06-22) |
parents | 5669e8b3be70 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="leocad"
4 VERSION="0.76.2"
5 CATEGORY="games"
6 SHORT_DESC="A CAD program that uses toy bricks"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.leocad.org/"
11 TARBALL="$PACKAGE-$VERSION-src.tgz"
12 WGET_URL="http://leocad.googlecode.com/files/$TARBALL" # FIXME
14 BUILD_DEPENDS="mesa-dev gtk2-dev glib-dev libjpeg-turbo-dev"
16 compile_rules() {
17 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11 -ldl"
19 make PREFIX="/usr" config &&
20 make &&
21 make install
22 }
24 genpkg_rules() {
25 mkdir -p $fs/usr/lib/leocad \
26 $fs/usr/bin
28 # Create the shell script launcher
29 cat > $fs/usr/bin/leocad << EOF
30 #!/bin/sh
31 LEOCAD_LIB=/usr/share/leocad \\
32 /usr/lib/leocad/leocad
33 EOF
35 chmod +x $fs/usr/bin/leocad
36 cp -a $install/* $fs
37 DEPENDS="glibc-base gcc-lib-base glib expat zlib leocad-pieces gtk2 atk \
38 libcairo pixman pango jpeg libpng fontconfig freetype libxcb \
39 xcb-util libx11 libxau libxcomposite libxcursor \
40 libxdamage libxdmcp libxext libxfixes libxft \
41 libxinerama libxrender mesa glu"
42 }