wok-next view xorg-libXres/receipt @ rev 21034
Small updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Nov 05 01:38:46 2018 +0200 (2018-11-05) |
parents | f48456621a9d |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xorg-libXres"
4 VERSION="1.2.0"
5 CATEGORY="x-window"
6 SHORT_DESC="X Resource extension"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.x.org/wiki/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/x/x7lib.html"
11 REPOLOGY="libxres"
13 TARBALL="libXres-$VERSION.tar.bz2"
14 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
16 BUILD_DEPENDS="xorg-util-macros xorg-libX11-dev xorg-libXext-dev \
17 xorg-xorgproto"
18 SPLIT="$PACKAGE-dev"
20 compile_rules() {
21 ./configure $CONFIGURE_ARGS &&
22 fix libtool &&
23 make &&
24 make install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 *-libXres)
30 copy @std
31 DEPENDS="xorg-libX11 xorg-libXext"
32 ;;
33 *-dev)
34 copy @dev
35 DEPENDS="xorg-libXres \
36 xorg-libX11-dev xorg-libXext-dev xorg-xorgproto"
37 ;;
38 esac
39 }