wok annotate deutex-devel/receipt @ rev 25526
created recipe for lua5.1-mpack 1.0.9
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 25 07:18:33 2023 +0100 (20 months ago) |
parents | 3bc72486e396 |
children | fe1b5660fdd1 |
rev | line source |
---|---|
slaxemulator@9275 | 1 # SliTaz package receipt. |
slaxemulator@9275 | 2 |
slaxemulator@9275 | 3 PACKAGE="deutex-devel" |
Hans-G?nter@22644 | 4 VERSION="5.2.1" |
slaxemulator@9275 | 5 CATEGORY="development" |
slaxemulator@9275 | 6 SHORT_DESC="A WAD file composer for Doom, Heretic, Hexen and Strife." |
slaxemulator@9275 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15579 | 8 LICENSE="GPL2" |
Hans-G?nter@22644 | 9 WEB_SITE="https://github.com/Doom-Utils/deutex" |
Hans-G?nter@22644 | 10 |
slaxemulator@9275 | 11 SOURCE="deutex" |
slaxemulator@9275 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@22644 | 13 WGET_URL="https://github.com/Doom-Utils/$SOURCE/archive/v$VERSION.tar.gz" |
pascal@21137 | 14 |
Hans-G?nter@22644 | 15 BUILD_DEPENDS="autoconf automake" |
slaxemulator@9275 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24055 | 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
slaxemulator@9275 | 23 # Rules to configure and make the package. |
slaxemulator@9275 | 24 compile_rules() |
slaxemulator@9275 | 25 { |
slaxemulator@9275 | 26 mkdir -p $DESTDIR/usr/bin |
Hans-G?nter@22644 | 27 ./bootstrap && |
pascal@21137 | 28 ./configure && |
Hans-G?nter@22644 | 29 make && |
pascal@21137 | 30 make BINDIR=$DESTDIR/usr/bin install |
slaxemulator@9275 | 31 } |
slaxemulator@9275 | 32 |
slaxemulator@9275 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9275 | 34 genpkg_rules() |
slaxemulator@9275 | 35 { |
Hans-G?nter@22644 | 36 mkdir -p $fs/usr |
Hans-G?nter@22644 | 37 mkdir -p $install/usr/doc |
Hans-G?nter@22644 | 38 |
Hans-G?nter@22644 | 39 cp -a $src/man/deutex.txt $install/usr/doc |
Hans-G?nter@22644 | 40 cp -a $install/usr/bin $fs/usr |
slaxemulator@9275 | 41 } |