wok-6.x view xorg-xrdb/receipt @ rev 25493
Add libgnt
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 19 17:37:48 2022 +0000 (21 months ago) |
parents | 558102e58daf |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xrdb"
4 VERSION="1.2.0"
5 CATEGORY="x-window"
6 SHORT_DESC="A program used for accessing the X resources of a server."
7 MAINTAINER="rocky@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.x.org/wiki/"
11 SOURCE="xrdb"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/app/$TARBALL"
15 DEPENDS="xorg-libXmu"
16 BUILD_DEPENDS="pkg-config"
18 current_version()
19 {
20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
21 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure $CONFIGURE_ARGS &&
28 make &&
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 }