Convert packages to the new template format (j).

This commit is contained in:
Juan RP
2013-04-12 16:52:48 +02:00
parent 34edf22303
commit 1e0c5b3f38
16 changed files with 144 additions and 126 deletions

View File

@@ -1,11 +0,0 @@
# Template file for 'json-glib-devel'.
#
depends="glib-devel json-glib>=${version}"
short_desc="${short_desc} - development files"
do_install() {
vmove "usr/lib/*.a" usr/lib
vmove usr/include usr
vmove usr/share usr
vmove usr/lib/pkgconfig usr/lib
}

View File

@@ -3,10 +3,9 @@ pkgname=json-glib
version=0.15.2
revision=1
configure_args="--enable-static --with-pic=yes"
subpackages="${pkgname}-devel"
build_style=gnu-configure
hostmakedepends="pkg-config gobject-introspection"
makedepends="glib-devel"
makedepends="libglib-devel"
short_desc="A JSON parser for GLib-based libraries and applications"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://live.gnome.org/JsonGlib"
@@ -20,3 +19,20 @@ long_desc="
structures, using a DOM-like API. JSON-GLib also offers GObject
integration, providing the ability to serialize and deserialize
GObject instances to and from JSON data types."
json-glib-devel_package() {
depends="glib-devel json-glib>=${version}"
short_desc="${short_desc} - development files"
pkg_install() {
vmove "usr/lib/*.a"
vmove usr/include
vmove usr/share
vmove usr/lib/pkgconfig
}
}
json-glib_package() {
pkg_install() {
vmove usr
}
}