2011-11-22 10:10:24 +00:00
|
|
|
# Template build for 'yajl'.
|
|
|
|
pkgname=yajl
|
2014-03-19 23:43:02 +00:00
|
|
|
version=2.1.0
|
2014-06-08 10:15:44 +00:00
|
|
|
revision=2
|
2011-11-22 10:10:24 +00:00
|
|
|
build_style=cmake
|
2014-07-27 14:05:16 +00:00
|
|
|
hostmakedepends="ruby cmake doxygen git"
|
2011-11-30 15:15:08 +00:00
|
|
|
short_desc="Yet Another JSON Library"
|
2014-06-08 10:15:44 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-11-22 10:10:24 +00:00
|
|
|
license="ISC"
|
2013-03-12 22:57:36 +00:00
|
|
|
homepage="http://lloyd.github.com/yajl/"
|
2011-11-22 10:10:24 +00:00
|
|
|
|
2013-08-19 06:56:08 +00:00
|
|
|
do_fetch() {
|
|
|
|
git clone -b${version} git://github.com/lloyd/yajl.git yajl-${version}
|
|
|
|
}
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vmkdir usr/lib
|
|
|
|
mv ${DESTDIR}/usr/share/pkgconfig ${DESTDIR}/usr/lib
|
|
|
|
}
|
2013-04-14 16:44:52 +00:00
|
|
|
|
|
|
|
yajl-devel_package() {
|
2014-02-14 13:49:30 +00:00
|
|
|
depends="yajl>=${version}_${revision}"
|
2013-08-19 06:56:08 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 16:44:52 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/*.a"
|
2013-08-19 06:56:08 +00:00
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-04-14 16:44:52 +00:00
|
|
|
vmove usr/include
|
|
|
|
}
|
|
|
|
}
|