### generated by gen-xlibs-pkg.sh from BLFS 11.3 on 2023-04-04
PKGVER=0.4.6
PKGBUILD=1
PKGARCH=i686

TARBALL=libXcomposite-0.4.6.tar.xz
MD5SUM=af0a5f0abb5b55f8411cd738cf0e5259
SRC_URL=https://www.x.org/pub/individual/lib/$TARBALL
BUNDLE=

SLACKREQ=
SLACKDESC='libXcomposite32: libXcomposite32 0.4.6 (X11 system library)  
libXcomposite32:  
libXcomposite32: X11 Composite extension library.
libXcomposite32: 
libXcomposite32: 
libXcomposite32: 
libXcomposite32: 
libXcomposite32: 
libXcomposite32: 
libXcomposite32: 
libXcomposite32:
'

### default pkg_download
### default pkg_prepare
### package - only collect the libraries for 32bit libs
pkg_package() {
	[ "only_libs" ] &&
	rm -rf bin sbin usr/bin usr/sbin usr/include usr/share etc
	return 0
}

### build
pkg_build() {
	case $TARBALL in
		libXfont2-*) CONFFLAGS="$XORG_CONFIG --disable-devel-docs" ;;
		libXt-*) CONFFLAGS="$XORG_CONFIG --with-appdefaultdir=/etc/X11/app-defaults" ;;
		libXpm-*) sed -i '/TestAll.*TRUE/s|^|//|' test/TestAllFiles.h; CONFFLAGS="$XORG_CONFIG --disable-open-zfile" ;;
		*) CONFFLAGS="$XORG_CONFIG" ;;
	esac
	
	pkg_build_autoconf && pkg_build_slackdesc
}
