wok-next annotate xorg-libXcursor/receipt @ rev 20534

Clean default configure options when site script used.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 30 19:31:50 2018 +0300 (2018-03-30)
parents 0e7893ac206d
children cd7906120828
rev   line source
al@19805 1 # SliTaz package receipt v2.
pankso@20 2
pankso@20 3 PACKAGE="xorg-libXcursor"
pascal@14616 4 VERSION="1.1.14"
pankso@20 5 CATEGORY="x-window"
al@19805 6 SHORT_DESC="Cursor extension"
pankso@20 7 MAINTAINER="pankso@slitaz.org"
al@19805 8 LICENSE="MIT"
al@19634 9 WEB_SITE="https://www.x.org/wiki/"
al@20443 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/x7lib.html"
al@19634 11
al@19634 12 TARBALL="libXcursor-$VERSION.tar.bz2"
pascal@14571 13 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
pascal@14571 14
slaxemulator@8029 15 BUILD_DEPENDS="xorg-libXrender-dev xorg-libXfixes-dev"
al@19805 16 SPLIT="xorg-libXcursor-dev"
pankso@20 17
al@20443 18 compile_rules() {
al@20534 19 ./configure $CONFIGURE_ARGS &&
al@20443 20 fix libtool &&
pascal@14571 21 make &&
al@14644 22 make install
pankso@20 23 }
pankso@20 24
al@20443 25 genpkg_rules() {
al@19805 26 case $PACKAGE in
al@19805 27 *-libXcursor)
al@19805 28 copy @std
al@20443 29 DEPENDS="xorg-libX11 xorg-libXfixes xorg-libXrender"
al@19805 30 ;;
al@19805 31 *-dev)
al@19805 32 copy @dev
al@20443 33 DEPENDS="xorg-libXcursor \
al@20443 34 xorg-libX11-dev xorg-libXfixes-dev xorg-libXrender-dev xorg-xproto"
al@19805 35 ;;
al@19805 36 esac
pankso@20 37 }