diff --git a/templates/gamin-devel b/templates/gamin-devel new file mode 120000 index 0000000000..50e9e17891 --- /dev/null +++ b/templates/gamin-devel @@ -0,0 +1 @@ +gamin \ No newline at end of file diff --git a/templates/gamin-python b/templates/gamin-python new file mode 120000 index 0000000000..50e9e17891 --- /dev/null +++ b/templates/gamin-python @@ -0,0 +1 @@ +gamin \ No newline at end of file diff --git a/templates/gamin/depends b/templates/gamin/depends new file mode 100644 index 0000000000..0298e7588c --- /dev/null +++ b/templates/gamin/depends @@ -0,0 +1,2 @@ +abi_depends=0.1.9 +api_depends=${abi_depends} diff --git a/templates/gamin/devel.template b/templates/gamin/devel.template new file mode 100644 index 0000000000..931bc7d6b1 --- /dev/null +++ b/templates/gamin/devel.template @@ -0,0 +1,17 @@ +# Template file for 'gamin-devel'. +# +short_desc="${sourcepkg} development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run gamin + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/lib*.so ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib +} diff --git a/templates/gamin/python.template b/templates/gamin/python.template new file mode 100644 index 0000000000..3cc9edece3 --- /dev/null +++ b/templates/gamin/python.template @@ -0,0 +1,15 @@ +# Template file for 'gamin-python'. +# +short_desc="${sourcepkg} python bindings" +long_desc="${long_desc} + + This package contains the python bindings." + +Add_dependency run gamin +Add_dependency run python + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/python* ${DESTDIR}/usr/lib +} diff --git a/templates/gamin/template b/templates/gamin/template new file mode 100644 index 0000000000..11aaaebb0f --- /dev/null +++ b/templates/gamin/template @@ -0,0 +1,21 @@ +# Template build file for 'gamin'. +pkgname=gamin +sourcepkg=$pkgname +version=0.1.9 +distfiles="http://www.gnome.org/~veillard/gamin/sources/gamin-$version.tar.gz" +build_style=gnu_configure +configure_env="CPPFLAGS=-D_GNU_SOURCE" +configure_args="--localstatedir=/var --enable-threads --enable-python" +short_desc="Library providing the FAM File Alteration Monitor API" +maintainer="Juan RP " +checksum=19e2c620e84da678b629d4acb07d93f47a2e5075982892646f77520bb277f239 +long_desc=" + This C library provides an API and ABI compatible file alteration + monitor mechanism compatible with FAM but not dependent on a system wide + daemon." + +subpackages="devel python" +Add_dependency build pkg-config +Add_dependency build python +Add_dependency full glibc +Add_dependency full glib