diff --git a/srcpkgs/libsigc++-devel b/srcpkgs/libsigc++-devel new file mode 120000 index 0000000000..29f66700ce --- /dev/null +++ b/srcpkgs/libsigc++-devel @@ -0,0 +1 @@ +libsigc++ \ No newline at end of file diff --git a/srcpkgs/libsigc++/depends b/srcpkgs/libsigc++/depends new file mode 100644 index 0000000000..19862a1b53 --- /dev/null +++ b/srcpkgs/libsigc++/depends @@ -0,0 +1,2 @@ +abi_depends=">=1.1" +api_depends="${abi_depends}" diff --git a/srcpkgs/libsigc++/libsigc++-devel.template b/srcpkgs/libsigc++/libsigc++-devel.template new file mode 100644 index 0000000000..a242256dfc --- /dev/null +++ b/srcpkgs/libsigc++/libsigc++-devel.template @@ -0,0 +1,18 @@ +# Template file for 'libsigc++-devel'. +# +short_desc="${sourcepkg} development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run libstdc++-devel +Add_dependency run libsigc++ + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/{include,share} ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/lib*.so ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/{pkgconfig,sigc++-2.0} \ + ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/libsigc++/template b/srcpkgs/libsigc++/template new file mode 100644 index 0000000000..0483e14576 --- /dev/null +++ b/srcpkgs/libsigc++/template @@ -0,0 +1,24 @@ +# Template file for 'libsigc++' +pkgname=libsigc++ +version=2.2.5 +distfiles="${GNOME_SITE}/$pkgname/2.2/$pkgname-$version.tar.bz2" +build_style=gnu_configure +short_desc="Type-safe callback system for C++ programs" +maintainer="Juan RP " +checksum=1249e77ef9556227c10d0dad726f0946fecc3b36e448ae72368ef8f3d3b520ba +long_desc=" + libsigc++ implements a full callback system for use in widget + libraries, abstract interfaces, and general programming. Originally + part of the Gtk-- widget set, libsigc++ is now a separate library to + provide for more general use. It is the most complete library of its + kind with the ability to connect an abstract callback to a class + method, function, or function object. It contains adaptor classes for + connection of dissimilar callbacks and has an ease of use unmatched by + other C++ callback libraries. Libsigc++ is licensed under the GNU + Library General Public License, LGPL." + +subpackages="$pkgname-devel" +Add_dependency run libgcc +Add_dependency run glibc +Add_dependency run libstdc++ +Add_dependency build libstdc++-devel diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index 42a48d8e15..ffd7c00056 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -602,3 +602,4 @@ libnautilus-extension.so nautilus nautilus-devel libgdict-1.0.so gnome-utils gnome-utils-devel libgnomeui-2.so.0 libgnomeui libgnomeui-devel libmpc.so mpc mpc-devel +libsigc-2.0.so libsigc++ libsigc++-devel