wok-current annotate linapple/receipt @ rev 22219
updated xorg-libXmu and xorg-libXmu-dev (1.1.1 -> 1.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Nov 11 16:47:53 2019 +0100 (2019-11-11) |
parents | daab4db430f4 |
children | 65d7d867e0c1 |
rev | line source |
---|---|
slaxemulator@7575 | 1 # SliTaz package receipt. |
slaxemulator@7575 | 2 |
slaxemulator@7575 | 3 PACKAGE="linapple" |
Hans-G?nter@21359 | 4 VERSION="2b" |
slaxemulator@7575 | 5 CATEGORY="misc" |
Hans-G?nter@21359 | 6 TAGS="emulator apple2" |
slaxemulator@7575 | 7 SHORT_DESC="Apple //e emulator." |
slaxemulator@7575 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15201 | 9 LICENSE="GPL2" |
Hans-G?nter@21359 | 10 WEB_SITE="http://linapple.sourceforge.net/" |
Hans-G?nter@21359 | 11 |
Hans-G?nter@21361 | 12 TARBALL="${PACKAGE}_src-$VERSION.tar.bz2" |
Hans-G?nter@21359 | 13 #WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
Hans-G?nter@21360 | 14 WGET_URL="https://sourceforge.net/projects/$PACKAGE/files/$PACKAGE/${PACKAGE}_$VERSION/$TARBALL" |
Hans-G?nter@21359 | 15 |
Hans-G?nter@21359 | 16 DEPENDS="curl gcc-lib-base libsdl libzip zlib" |
Hans-G?nter@21359 | 17 BUILD_DEPENDS="curl-dev libsdl-dev libzip-dev zlib-dev" |
slaxemulator@7575 | 18 CONFIG_FILES="/etc/linapple.conf" |
pascal@15201 | 19 |
slaxemulator@7575 | 20 # Rules to configure and make the package. |
slaxemulator@7575 | 21 compile_rules() |
slaxemulator@7575 | 22 { |
slaxemulator@7575 | 23 cd $src/src |
slaxemulator@7575 | 24 grep -q /usr/share/apple2 Applewin.cpp || |
slaxemulator@7575 | 25 sed -i 's|.*REGISTRY.*|\tchdir("/usr/share/apple2");\n&|' Applewin.cpp |
pascal@12807 | 26 make CXXFLAGS="-O3 -I/usr/lib/libzip/include -I/usr/include/SDL" |
slaxemulator@7575 | 27 } |
slaxemulator@7575 | 28 |
slaxemulator@7575 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7575 | 30 genpkg_rules() |
slaxemulator@7575 | 31 { |
Hans-G?nter@21359 | 32 mkdir -p $fs/usr/share/apple2 |
Hans-G?nter@21359 | 33 mkdir -p $fs/usr/bin |
Hans-G?nter@21359 | 34 mkdir -p $fs/etc |
Hans-G?nter@21359 | 35 |
Hans-G?nter@21359 | 36 cp $src/linapple $fs/usr/bin |
Hans-G?nter@21359 | 37 cp $src/*.bmp $fs/usr/share/apple2 |
Hans-G?nter@21359 | 38 cp $src/linapple.conf $fs/etc |
Hans-G?nter@21359 | 39 |
slaxemulator@7575 | 40 ln -s /etc/linapple.conf $fs/usr/share/apple2 |
slaxemulator@7575 | 41 } |