2011-09-07 22:49:31 +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=libgadu
|
2012-02-06 13:30:14 +08:00
|
|
|
pkgver=1.11.1
|
2010-05-17 15:50:50 +08:00
|
|
|
pkgrel=1
|
2011-09-07 22:49:31 +08:00
|
|
|
pkgdesc="This library implements the client side of the Gadu-Gadu protocol"
|
2010-03-14 23:48:48 +08:00
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="http://toxygen.net/libgadu/"
|
|
|
|
license=('GPL')
|
|
|
|
depends=('openssl')
|
|
|
|
options=('!libtool')
|
2010-05-17 15:50:50 +08:00
|
|
|
source=("http://toxygen.net/${pkgname}/files/${pkgname}-${pkgver}.tar.gz")
|
2012-02-06 13:30:14 +08:00
|
|
|
md5sums=('01016ad3b0ea955b61ef4badf2bd48bf')
|
2010-03-14 23:48:48 +08:00
|
|
|
|
|
|
|
build() {
|
2011-09-07 22:49:31 +08:00
|
|
|
cd "${srcdir}"/${pkgname}-${pkgver}
|
2010-03-14 23:48:48 +08:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--disable-static \
|
|
|
|
--enable-shared \
|
|
|
|
--with-pthread
|
2011-09-07 22:49:31 +08:00
|
|
|
make
|
2010-04-07 03:23:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2011-09-07 22:49:31 +08:00
|
|
|
cd "${srcdir}"/${pkgname}-${pkgver}
|
|
|
|
make DESTDIR="${pkgdir}" install
|
2010-03-14 23:48:48 +08:00
|
|
|
}
|