wok annotate xorg-imake/receipt @ rev 25438

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 01 11:12:31 2022 +0000 (22 months ago)
parents 5d79829fa876
children
rev   line source
pascal@355 1 # SliTaz package receipt.
pascal@355 2
pascal@355 3 PACKAGE="xorg-imake"
Hans-G?nter@22192 4 VERSION="1.0.8"
pascal@355 5 CATEGORY="x-window"
pascal@355 6 SHORT_DESC="X imake utility."
pascal@355 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15579 8 LICENSE="MIT"
Hans-G?nter@22192 9 WEB_SITE="https://www.x.org/wiki/"
Hans-G?nter@22192 10
pascal@355 11 SOURCE="imake"
gokhlayeh@6993 12 TARBALL="$SOURCE-$VERSION.tar.bz2"
pascal@355 13 WGET_URL="$XORG_MIRROR/util/$TARBALL"
pascal@355 14
pascal@15579 15 DEPENDS="xorg-cf-files"
Hans-G?nter@22192 16 BUILD_DEPENDS="perl pkg-config xorg-gccmakedep xorg-makedepend xorg-xproto"
pascal@15579 17
pascal@24072 18 current_version()
pascal@24072 19 {
pascal@24072 20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24072 21 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24072 22 }
pascal@24072 23
pascal@355 24 # Rules to configure and make the package.
pascal@355 25 compile_rules()
pascal@355 26 {
pascal@25188 27 ./configure \
pascal@25188 28 --prefix=/usr \
pascal@25188 29 --mandir=/usr/share/man \
pascal@25188 30 --with-create-lib-cmd="ar cq" \
Hans-G?nter@22192 31 $CONFIGURE_ARGS &&
Hans-G?nter@22192 32 make &&
pascal@15579 33 make DESTDIR=$DESTDIR install
Hans-G?nter@22192 34
pascal@15579 35 chmod +x $DESTDIR/usr/bin/*
pascal@355 36 }
pascal@355 37
pascal@355 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@355 39 genpkg_rules()
pascal@355 40 {
pascal@355 41 mkdir -p $fs/usr
pascal@15579 42 cp -a $install/usr/bin $fs/usr
pascal@355 43 }