wok-next annotate 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 |
rev | line source |
---|---|
rcx@3709 | 1 # SliTaz package receipt. |
rcx@3709 | 2 |
rcx@3709 | 3 PACKAGE="leocad" |
pascal@12910 | 4 VERSION="0.76.2" |
rcx@3709 | 5 CATEGORY="games" |
al@21020 | 6 SHORT_DESC="A CAD program that uses toy bricks" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15379 | 8 LICENSE="GPL2" |
al@21020 | 9 WEB_SITE="https://www.leocad.org/" |
al@21020 | 10 |
slaxemulator@11194 | 11 TARBALL="$PACKAGE-$VERSION-src.tgz" |
al@20906 | 12 WGET_URL="http://leocad.googlecode.com/files/$TARBALL" # FIXME |
pankso@10744 | 13 |
al@21020 | 14 BUILD_DEPENDS="mesa-dev gtk2-dev glib-dev libjpeg-turbo-dev" |
rcx@3709 | 15 |
al@21020 | 16 compile_rules() { |
pascal@17670 | 17 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11 -ldl" |
al@21020 | 18 |
slaxemulator@9310 | 19 make PREFIX="/usr" config && |
al@21020 | 20 make && |
al@21020 | 21 make install |
rcx@3709 | 22 } |
rcx@3709 | 23 |
al@21020 | 24 genpkg_rules() { |
pankso@10744 | 25 mkdir -p $fs/usr/lib/leocad \ |
pankso@10744 | 26 $fs/usr/bin |
slaxemulator@9310 | 27 |
pankso@10744 | 28 # Create the shell script launcher |
pankso@10744 | 29 cat > $fs/usr/bin/leocad << EOF |
pankso@10744 | 30 #!/bin/sh |
pankso@10744 | 31 LEOCAD_LIB=/usr/share/leocad \\ |
pankso@10744 | 32 /usr/lib/leocad/leocad |
pankso@10744 | 33 EOF |
pascal@13796 | 34 |
pankso@10744 | 35 chmod +x $fs/usr/bin/leocad |
pankso@10744 | 36 cp -a $install/* $fs |
al@21020 | 37 DEPENDS="glibc-base gcc-lib-base glib expat zlib leocad-pieces gtk2 atk \ |
al@21105 | 38 libcairo pixman pango jpeg libpng fontconfig freetype libxcb \ |
al@21078 | 39 xcb-util libx11 libxau libxcomposite libxcursor \ |
al@21078 | 40 libxdamage libxdmcp libxext libxfixes libxft \ |
al@21078 | 41 libxinerama libxrender mesa glu" |
rcx@3709 | 42 } |