2011-11-22 11:10:24 +01:00
|
|
|
# Template build for 'yajl'.
|
|
|
|
pkgname=yajl
|
2014-03-20 00:43:02 +01:00
|
|
|
version=2.1.0
|
|
|
|
revision=1
|
2011-11-22 11:10:24 +01:00
|
|
|
build_style=cmake
|
2013-08-19 08:57:56 +02:00
|
|
|
hostmakedepends="ruby cmake doxygen"
|
2011-11-30 16:15:08 +01:00
|
|
|
short_desc="Yet Another JSON Library"
|
2011-11-22 11:10:24 +01:00
|
|
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
|
|
|
license="ISC"
|
2013-03-12 23:57:36 +01:00
|
|
|
homepage="http://lloyd.github.com/yajl/"
|
2011-11-22 11:10:24 +01:00
|
|
|
|
2013-08-19 08:56:08 +02: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 18:44:52 +02:00
|
|
|
|
|
|
|
yajl-devel_package() {
|
2014-02-14 14:49:30 +01:00
|
|
|
depends="yajl>=${version}_${revision}"
|
2013-08-19 08:56:08 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 18:44:52 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/*.a"
|
2013-08-19 08:56:08 +02:00
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-04-14 18:44:52 +02:00
|
|
|
vmove usr/include
|
|
|
|
}
|
|
|
|
}
|