diff --git a/common/shlibs b/common/shlibs index fe31a0853d..85bcc3b06f 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1189,3 +1189,4 @@ libOSMesa.so.8 libOSMesa-9.1_1 libtaginfo.so.1 libtaginfo-0.1.3_1 libtaginfo_c.so.0 libtaginfo-0.1.3_1 libaa.so.1 aalib-1.4rc4_2 +libbsd.so.0 libbsd-0.4.2_1 diff --git a/srcpkgs/libbsd-devel b/srcpkgs/libbsd-devel new file mode 120000 index 0000000000..657cd4da9d --- /dev/null +++ b/srcpkgs/libbsd-devel @@ -0,0 +1 @@ +libbsd \ No newline at end of file diff --git a/srcpkgs/libbsd/libbsd-devel.template b/srcpkgs/libbsd/libbsd-devel.template new file mode 100644 index 0000000000..d5a084cecd --- /dev/null +++ b/srcpkgs/libbsd/libbsd-devel.template @@ -0,0 +1,11 @@ +# Template file for 'libbsd-devel'. +# +depends="${sourcepkg}>=${version}" +short_desc="${short_desc} -- development files" + +do_install() { + vmove usr/include usr + vmove usr/lib/pkgconfig usr/lib + vmove "usr/lib/*.a" usr/lib + vmove usr/share usr +} diff --git a/srcpkgs/libbsd/template b/srcpkgs/libbsd/template new file mode 100644 index 0000000000..da4763e491 --- /dev/null +++ b/srcpkgs/libbsd/template @@ -0,0 +1,17 @@ +# Template file for 'libbsd' +pkgname=libbsd +version=0.4.2 +revision=1 +build_style=gnu-configure +subpackages="${pkgname}-devel" +short_desc="Provides useful functions commonly found on BSD system" +maintainer="Juan RP " +homepage="http://libbsd.freedesktop.org/wiki/" +license="BSD" +distfiles="http://libbsd.freedesktop.org/releases/libbsd-${version}.tar.gz" +checksum=922b4885e0ccfd64b92fcacdb3fba18024fcab1e0c1b073f5ec0fe76388cbfdc +long_desc=" + This library provides useful functions commonly found on BSD systems, and + lacking on others like GNU systems, thus making it easier to port projects + with strong BSD origins, without needing to embed the same code over and + over again on each project."