wok-current annotate xorg-libdmx/receipt @ rev 25483

created recipe for py3k-six
author Hans-G?nter Theisgen
date Mon Oct 17 07:54:33 2022 +0100 (2022-10-17)
parents bf684143c570
children ac34e9209f8e
rev   line source
pankso@12512 1 # SliTaz package receipt.
pankso@12512 2
pankso@12512 3 PACKAGE="xorg-libdmx"
Hans-G?nter@22234 4 VERSION="1.1.4"
pankso@12512 5 CATEGORY="x-window"
pankso@12512 6 SHORT_DESC="Xorg DMX library."
pankso@12512 7 MAINTAINER="pankso@slitaz.org"
pascal@15579 8 LICENSE="MIT"
Hans-G?nter@22234 9 WEB_SITE="https://www.x.org/wiki/"
Hans-G?nter@22234 10
pankso@12512 11 SOURCE="libdmx"
pankso@12512 12 TARBALL="$SOURCE-$VERSION.tar.bz2"
pankso@12512 13 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
pankso@12512 14
pankso@12512 15 DEPENDS=""
pankso@12512 16 BUILD_DEPENDS="xorg-dmxproto"
pankso@12512 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
pankso@12512 24 # Rules to configure and make the package.
pankso@12512 25 compile_rules()
pankso@12512 26 {
Hans-G?nter@22234 27 ./configure \
Hans-G?nter@22234 28 --sysconfdir=/etc \
Hans-G?nter@22234 29 --mandir=/usr/share/man \
Hans-G?nter@22234 30 --localstatedir=/var \
pankso@12512 31 $CONFIGURE_ARGS &&
Hans-G?nter@22234 32 make &&
Hans-G?nter@22234 33 make install
pankso@12512 34 }
pankso@12512 35
pankso@12512 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@12512 37 genpkg_rules()
pankso@12512 38 {
pankso@12512 39 mkdir -p $fs/usr/lib
pankso@12512 40 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@12512 41 }