New package: ocaml-lablgtk2-2.18.6
This commit is contained in:
parent
6352149c0b
commit
5e8d947ec7
4 changed files with 64 additions and 0 deletions
1
srcpkgs/ocaml-lablgtk2-gnomecanvas
Symbolic link
1
srcpkgs/ocaml-lablgtk2-gnomecanvas
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
ocaml-lablgtk2
|
1
srcpkgs/ocaml-lablgtk2-gtksourceview2
Symbolic link
1
srcpkgs/ocaml-lablgtk2-gtksourceview2
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
ocaml-lablgtk2
|
1
srcpkgs/ocaml-lablgtk2-gtkspell
Symbolic link
1
srcpkgs/ocaml-lablgtk2-gtkspell
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
ocaml-lablgtk2
|
61
srcpkgs/ocaml-lablgtk2/template
Normal file
61
srcpkgs/ocaml-lablgtk2/template
Normal file
|
@ -0,0 +1,61 @@
|
||||||
|
# Template file for 'ocaml-lablgtk2'
|
||||||
|
pkgname=ocaml-lablgtk2
|
||||||
|
version=2.18.6
|
||||||
|
revision=1
|
||||||
|
wrksrc="lablgtk-${version}"
|
||||||
|
build_style=gnu-configure
|
||||||
|
configure_args="--without-glade --without-gnomeui --without-gtksourceview"
|
||||||
|
make_build_args="world opt"
|
||||||
|
maintainer="Tai Chi Minh Ralph Eastwood <tcmreastwood@gmail.com>"
|
||||||
|
hostmakedepends="ocaml ocaml-findlib m4 camlp4 pkg-config"
|
||||||
|
makedepends="gtk+-devel gtksourceview2-devel libgnomecanvas-devel gtkspell-devel"
|
||||||
|
short_desc="OCaml interface to GTK2"
|
||||||
|
license="LGPL-2.1"
|
||||||
|
homepage="http://lablgtk.forge.ocamlcore.org/"
|
||||||
|
distfiles="https://forge.ocamlcore.org/frs/download.php/1726/lablgtk-${version}.tar.gz"
|
||||||
|
checksum=4ddca243066418e2a88ac49ebf2d846fac4b667b1b1753efadd078ae777368f8
|
||||||
|
nocross=yes
|
||||||
|
nopie=yes
|
||||||
|
disable_parallel_build=yes
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense COPYING
|
||||||
|
}
|
||||||
|
|
||||||
|
ocaml-lablgtk2-gnomecanvas_package() {
|
||||||
|
depends="ocaml-lablgtk2 libgnomecanvas"
|
||||||
|
short_desc+=" - gnomecanvas bindings"
|
||||||
|
pkg_install() {
|
||||||
|
vmove "usr/lib/ocaml/lablgtk2/gnoCanvas.*"
|
||||||
|
vmove "usr/lib/ocaml/lablgtk2/gnomeCanvas.*"
|
||||||
|
vmove "usr/lib/ocaml/lablgtk2/lablgnomecanvas.*"
|
||||||
|
vmove usr/lib/ocaml/lablgtk2/liblablgnomecanvas.a
|
||||||
|
vmove usr/lib/ocaml/lablgtk2/dlllablgnomecanvas.so
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
ocaml-lablgtk2-gtksourceview2_package() {
|
||||||
|
depends="ocaml-lablgtk2 gtksourceview2"
|
||||||
|
short_desc+=" - gtksourceview2 bindings"
|
||||||
|
pkg_install() {
|
||||||
|
vmove "usr/lib/ocaml/lablgtk2/gSourceView2.*"
|
||||||
|
vmove "usr/lib/ocaml/lablgtk2/gtkSourceView2.*"
|
||||||
|
vmove "usr/lib/ocaml/lablgtk2/gtkSourceView2_types.*"
|
||||||
|
vmove "usr/lib/ocaml/lablgtk2/lablgtksourceview2.*"
|
||||||
|
vmove "usr/lib/ocaml/lablgtk2/sourceView2Enums.*"
|
||||||
|
vmove usr/lib/ocaml/lablgtk2/liblablgtksourceview2.a
|
||||||
|
vmove usr/lib/ocaml/lablgtk2/dlllablgtksourceview2.so
|
||||||
|
vmove usr/lib/ocaml/lablgtk2/sourceView2_tags.h
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
ocaml-lablgtk2-gtkspell_package() {
|
||||||
|
depends="ocaml-lablgtk2 gtkspell"
|
||||||
|
short_desc+=" - gtkspell bindings"
|
||||||
|
pkg_install() {
|
||||||
|
vmove "usr/lib/ocaml/lablgtk2/gtkSpell.*"
|
||||||
|
vmove "usr/lib/ocaml/lablgtk2/lablgtkspell.*"
|
||||||
|
vmove usr/lib/ocaml/lablgtk2/liblablgtkspell.a
|
||||||
|
vmove usr/lib/ocaml/lablgtk2/dlllablgtkspell.so
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue