wok-current view xorg-dmxproto/receipt @ rev 25728
Merge wok for both arch and few updates
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Dec 05 08:39:45 2024 +0000 (2 weeks ago) |
parents | a23978bfa665 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-dmxproto"
4 VERSION="2.3.1"
5 CATEGORY="development"
6 SHORT_DESC="DMX extension headers"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="other"
9 WEB_SITE="https://www.x.org/"
10 SOURCE="dmxproto"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WGET_URL="$XORG_MIRROR/proto/$TARBALL"
14 DEPENDS="xorg-util-macros pkg-config"
15 BUILD_DEPENDS="xorg-util-macros"
17 HOST_ARCH="i486 x86_64"
19 current_version()
20 {
21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
22 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --sysconfdir=/etc \
30 --localstatedir=/var \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/share/licenses
40 cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
42 cp -a $install/* $fs
44 # Ensure remove .la files
45 find $fs -name "*.la" -delete
46 }