wok annotate xorg-xrdb/receipt @ rev 24622
updated graphviz, graphviz-dev and graphviz-doc (2.42.2 -> 3.0.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 07 16:02:21 2022 +0100 (2022-03-07) |
parents | 558102e58daf |
children |
rev | line source |
---|---|
rocky@3894 | 1 # SliTaz package receipt. |
rocky@3894 | 2 |
rocky@3894 | 3 PACKAGE="xorg-xrdb" |
Hans-G?nter@22299 | 4 VERSION="1.2.0" |
rocky@3894 | 5 CATEGORY="x-window" |
Hans-G?nter@22299 | 6 SHORT_DESC="A program used for accessing the X resources of a server." |
rocky@3894 | 7 MAINTAINER="rocky@slitaz.org" |
pascal@15579 | 8 LICENSE="MIT" |
Hans-G?nter@22299 | 9 WEB_SITE="https://www.x.org/wiki/" |
Hans-G?nter@22299 | 10 |
rocky@3894 | 11 SOURCE="xrdb" |
gokhlayeh@6993 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
rocky@3894 | 13 WGET_URL="$XORG_MIRROR/app/$TARBALL" |
rocky@3894 | 14 |
pascal@15579 | 15 DEPENDS="xorg-libXmu" |
pascal@15579 | 16 BUILD_DEPENDS="pkg-config" |
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 |
rocky@3894 | 24 # Rules to configure and make the package. |
rocky@3894 | 25 compile_rules() |
rocky@3894 | 26 { |
Hans-G?nter@22299 | 27 ./configure $CONFIGURE_ARGS && |
Hans-G?nter@22299 | 28 make && |
Hans-G?nter@22299 | 29 make install |
rocky@3894 | 30 } |
rocky@3894 | 31 |
rocky@3894 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
rocky@3894 | 33 genpkg_rules() |
rocky@3894 | 34 { |
rocky@3894 | 35 mkdir -p $fs/usr |
Hans-G?nter@22299 | 36 cp -a $install/usr/bin $fs/usr |
rocky@3894 | 37 } |