### generated by gen-xapps-pkg.sh from BLFS SVN 2018-05-25 on 2018-05-25
PKGVER=1.0.8
PKGBUILD=1
PKGARCH=x86_64

TARBALL=iceauth-1.0.8.tar.bz2
MD5SUM=3b9b79fa0f9928161f4bad94273de7ae
SRC_URL=http://xorg.freedesktop.org/releases/individual/app/$TARBALL
BUNDLE=

SLACKREQ=
SLACKDESC='iceauth: iceauth 1.0.8 (X11 standard application)  
iceauth:  
iceauth: Manage ICE authority file utility.
iceauth: 
iceauth: 
iceauth: 
iceauth: 
iceauth: 
iceauth: 
iceauth: 
iceauth:
'

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/iceauth*
	case $TARBALL in
		luit-*)
			sed -e 's@#ifdef HAVE_CONFIG_H@#ifdef _XOPEN_SOURCE\n#undef _XOPEN_SOURCE\n#define _XOPEN_SOURCE 600\n#endif\n\n&@' \
				-i sys.c 
			;;
		sessreg-* )
			sed -e 's/\$(CPP) \$(DEFS)/$(CPP) -P $(DEFS)/' -i man/Makefile.in
			;;
	esac
	CONFFLAGS="$XORG_CONFIG"
	pkg_build_autoconf && pkg_build_slackdesc
}
