2011-08-14 06:14:56 +08:00
|
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
|
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
|
|
|
|
# include global config
|
|
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
2010-03-14 23:48:48 +08:00
|
|
|
|
|
|
|
pkgname=chmlib
|
|
|
|
pkgver=0.40
|
2011-08-14 06:14:56 +08:00
|
|
|
pkgrel=2
|
2010-03-14 23:48:48 +08:00
|
|
|
pkgdesc="Library for dealing with Microsoft ITSS/CHM format files"
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="http://morte.jedrea.com/~jedwin/projects/chmlib/"
|
|
|
|
options=('!libtool' '!emptydirs')
|
|
|
|
license=('LGPL')
|
|
|
|
depends=('glibc')
|
|
|
|
source=(http://morte.jedrea.com/~jedwin/projects/chmlib/${pkgname}-${pkgver}.tar.bz2)
|
|
|
|
md5sums=('7ea49ed8c335215c1edc6fae83e6b912')
|
|
|
|
|
|
|
|
build() {
|
2011-08-14 06:14:56 +08:00
|
|
|
cd "${srcdir}"/${pkgname}-${pkgver}
|
2010-03-14 23:48:48 +08:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--enable-examples=yes
|
2011-08-14 06:14:56 +08:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}"/${pkgname}-${pkgver}
|
|
|
|
make DESTDIR="${pkgdir}" install
|
2010-03-14 23:48:48 +08:00
|
|
|
}
|
|
|
|
|