wok view deutex-devel/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
parents 5ea0ce1cecc0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="deutex-devel"
4 VERSION="5.2.1"
5 CATEGORY="development"
6 SHORT_DESC="A WAD file composer for Doom, Heretic, Hexen and Strife."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/Doom-Utils/deutex"
11 SOURCE="deutex"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/Doom-Utils/$SOURCE/archive/v$VERSION.tar.gz"
15 BUILD_DEPENDS="autoconf automake"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 mkdir -p $DESTDIR/usr/bin
28 ./bootstrap &&
29 ./configure &&
30 make &&
31 make BINDIR=$DESTDIR/usr/bin install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 mkdir -p $install/usr/doc
40 cp -a $src/man/deutex.txt $install/usr/doc
41 cp -a $install/usr/bin $fs/usr
42 }