wok-next view xorg-libXres/receipt @ rev 20459
Combine receipts
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 02 13:45:43 2018 +0200 (2018-03-02) |
parents | ea3c4b76ea5d |
children | 757d032c55c7 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xorg-libXres"
4 VERSION="1.0.7"
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/stable/x/x7lib.html"
12 TARBALL="libXres-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
15 BUILD_DEPENDS="xorg-util-macros xorg-libX11-dev xorg-libXext-dev \
16 xorg-resourceproto"
17 SPLIT="xorg-libXres-dev"
19 compile_rules() {
20 fix ld
21 ./configure \
22 --sysconfdir=/etc \
23 --localstatedir=/var \
24 $CONFIGURE_ARGS &&
25 fix libtool &&
26 make && make install
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 *-libXres)
32 copy @std
33 DEPENDS="xorg-libX11 xorg-libXext"
34 ;;
35 *-dev)
36 copy @dev
37 DEPENDS="xorg-libXres \
38 xorg-libX11-dev xorg-libXext-dev xorg-xproto"
39 ;;
40 esac
41 }