wok annotate xorg-libdmx/receipt @ rev 24521
updated ettercap (0.8.3 -> 0.8.3.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 22 15:47:04 2022 +0100 (2022-02-22) |
parents | bf684143c570 |
children |
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 } |