### this file is sourced not run
PKGVER=1.0
PKGBUILD=1
PKGARCH=x86_64

# source: BLFS 7.5
TARBALL=libical-1.0.tar.gz
MD5SUM=4438c31d00ec434f02867a267a92f8a1 
SRC_URL=http://downloads.sourceforge.net/freeassociation/$TARBALL
BUNDLE=

SLACKREQ=''
SLACKDESC='libical: libical 1.0 (iCalendar support library)  
libical:  
libical: The libical package contains an implementation of the iCalendar 
libical: protocols and data formats.  
libical: 
libical: 
libical: 
libical: 
libical: 
libical: 
libical:
'

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/libical*
	sed -i -e '/libdir/ s|/lib|/lib64|' CMakeLists.txt
	CMAKEFLAGS="$CMAKEFLAGS -DCMAKE_BUILD_TYPE=Release -DLIB_SUFFIX=64"
	pkg_build_cmake && 
	pkg_build_slackdesc &&
	# don't want the static libs
	rm -f /usr/lib64/libical*.a
}


