wok-next annotate xorg-libdmx/receipt @ rev 20974
Fix python-shapely build
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Sep 23 04:34:15 2018 +0300 (2018-09-23) |
parents | e7a485521d6a |
children | f48456621a9d |
rev | line source |
---|---|
al@19805 | 1 # SliTaz package receipt v2. |
pankso@12512 | 2 |
pankso@12512 | 3 PACKAGE="xorg-libdmx" |
al@20905 | 4 VERSION="1.1.4" |
pankso@12512 | 5 CATEGORY="x-window" |
al@19805 | 6 SHORT_DESC="Xorg DMX library" |
pankso@12512 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15579 | 8 LICENSE="MIT" |
al@19637 | 9 WEB_SITE="https://www.x.org/wiki" |
al@20443 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/x7lib.html" |
al@20888 | 11 REPOLOGY="libdmx" |
al@19637 | 12 |
al@19637 | 13 TARBALL="libdmx-$VERSION.tar.bz2" |
pankso@12512 | 14 WGET_URL="$XORG_MIRROR/lib/$TARBALL" |
pankso@12512 | 15 |
al@20935 | 16 BUILD_DEPENDS="xorg-libX11-dev xorg-libXext-dev xorg-xorgproto" |
al@19805 | 17 SPLIT="xorg-libdmx-dev" |
pankso@12512 | 18 |
al@20443 | 19 compile_rules() { |
pankso@12512 | 20 ./configure \ |
al@19637 | 21 --disable-static \ |
pankso@12512 | 22 $CONFIGURE_ARGS && |
al@20443 | 23 fix libtool && |
al@20534 | 24 make && |
al@20534 | 25 make install |
pankso@12512 | 26 } |
pankso@12512 | 27 |
al@20443 | 28 genpkg_rules() { |
al@19805 | 29 case $PACKAGE in |
al@19805 | 30 *-libdmx) |
al@19805 | 31 copy @std |
al@20443 | 32 DEPENDS="xorg-libX11 xorg-libXext" |
al@19805 | 33 ;; |
al@19805 | 34 *-dev) |
al@19805 | 35 copy @dev |
al@20443 | 36 DEPENDS="xorg-libdmx \ |
al@20935 | 37 xorg-xorgproto xorg-libX11-dev xorg-libXext-dev" |
al@19805 | 38 ;; |
al@19805 | 39 esac |
pankso@12512 | 40 } |