wok-next annotate xorg-libXres/receipt @ rev 20714
netkit-rsh: typo
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun May 27 12:56:13 2018 +0300 (2018-05-27) |
parents | 0e7893ac206d |
children | cd7906120828 |
rev | line source |
---|---|
al@19805 | 1 # SliTaz package receipt v2. |
pascal@14627 | 2 |
pascal@14627 | 3 PACKAGE="xorg-libXres" |
pascal@14627 | 4 VERSION="1.0.7" |
pascal@14627 | 5 CATEGORY="x-window" |
al@19805 | 6 SHORT_DESC="X Resource extension" |
pascal@14627 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15579 | 8 LICENSE="MIT" |
al@19805 | 9 WEB_SITE="https://www.x.org/wiki/" |
al@20443 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/x7lib.html" |
al@19637 | 11 |
al@19637 | 12 TARBALL="libXres-$VERSION.tar.bz2" |
pascal@14627 | 13 WGET_URL="$XORG_MIRROR/lib/$TARBALL" |
pascal@14627 | 14 |
al@19805 | 15 BUILD_DEPENDS="xorg-util-macros xorg-libX11-dev xorg-libXext-dev \ |
pascal@14627 | 16 xorg-resourceproto" |
al@19805 | 17 SPLIT="xorg-libXres-dev" |
pascal@14627 | 18 |
al@20443 | 19 compile_rules() { |
al@20534 | 20 ./configure $CONFIGURE_ARGS && |
al@20443 | 21 fix libtool && |
al@20534 | 22 make && |
al@20534 | 23 make install |
pascal@14627 | 24 } |
pascal@14627 | 25 |
al@20443 | 26 genpkg_rules() { |
al@19805 | 27 case $PACKAGE in |
al@19805 | 28 *-libXres) |
al@19805 | 29 copy @std |
al@20443 | 30 DEPENDS="xorg-libX11 xorg-libXext" |
al@19805 | 31 ;; |
al@19805 | 32 *-dev) |
al@19805 | 33 copy @dev |
al@20443 | 34 DEPENDS="xorg-libXres \ |
al@20443 | 35 xorg-libX11-dev xorg-libXext-dev xorg-xproto" |
al@19805 | 36 ;; |
al@19805 | 37 esac |
pascal@14627 | 38 } |