wok-current annotate xorg-xmessage/receipt @ rev 25595

Patch asunder to build with gcc 6.3.0
author Stanislas Leduc <shann@slitaz.org>
date Thu Aug 31 19:56:54 2023 +0000 (14 months ago)
parents 85da3e0312c3
children
rev   line source
slaxemulator@7272 1 # SliTaz package receipt.
slaxemulator@7272 2
slaxemulator@7272 3 PACKAGE="xorg-xmessage"
Hans-G?nter@22295 4 VERSION="1.0.5"
slaxemulator@7272 5 CATEGORY="x-window"
slaxemulator@7272 6 SHORT_DESC="Display a message or query in a window."
slaxemulator@7272 7 MAINTAINER="slaxemulator@gmail.com"
pascal@15579 8 LICENSE="MIT"
Hans-G?nter@22295 9 WEB_SITE="https://www.x.org/wiki/"
Hans-G?nter@22295 10
slaxemulator@7272 11 SOURCE="xmessage"
slaxemulator@7272 12 TARBALL="$SOURCE-$VERSION.tar.bz2"
slaxemulator@7272 13 WGET_URL="$XORG_MIRROR/app/$TARBALL"
slaxemulator@7272 14
pascal@15102 15 DEPENDS="xorg-libXaw"
pascal@15102 16 BUILD_DEPENDS="xorg-libXaw-dev"
pascal@15102 17
Hans-G?nter@22295 18 HOST_ARCH="i486 arm"
Hans-G?nter@22295 19
pascal@24072 20 current_version()
pascal@24072 21 {
pascal@24072 22 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24072 23 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24072 24 }
pascal@24072 25
slaxemulator@7272 26 # Rules to configure and make the package.
slaxemulator@7272 27 compile_rules()
slaxemulator@7272 28 {
Hans-G?nter@22295 29 ./configure \
Hans-G?nter@22295 30 --sysconfdir=/etc \
Hans-G?nter@22295 31 --localstatedir=/var \
pankso@16109 32 $CONFIGURE_ARGS &&
Hans-G?nter@22295 33 make &&
Hans-G?nter@22295 34 make install
slaxemulator@7272 35 }
slaxemulator@7272 36
slaxemulator@7272 37 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7272 38 genpkg_rules()
slaxemulator@7272 39 {
pankso@16109 40 mkdir -p $fs/usr
Hans-G?nter@22295 41 cp -a $install/usr/bin $fs/usr
slaxemulator@7272 42 }