diff --git a/common/shlibs b/common/shlibs index 31ac302121b..35ba07dbe0c 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1699,3 +1699,4 @@ libwld.so.0 wld-git-20140809_1 libswc.so.0 swc-git-20140809_1 libfcgi.so.0 fcgi-2.4.0_2 libdshconfig.so.1 libdshconfig-0.20.13_1 +libpar2.so.1 libpar2-0.4_1 diff --git a/srcpkgs/libpar2-devel b/srcpkgs/libpar2-devel new file mode 120000 index 00000000000..41dfc907561 --- /dev/null +++ b/srcpkgs/libpar2-devel @@ -0,0 +1 @@ +libpar2 \ No newline at end of file diff --git a/srcpkgs/libpar2/template b/srcpkgs/libpar2/template new file mode 100644 index 00000000000..1b276bb9802 --- /dev/null +++ b/srcpkgs/libpar2/template @@ -0,0 +1,24 @@ +# Template file for 'libpar2' +pkgname=libpar2 +version=0.4 +revision=1 +build_style=gnu-configure +maintainer="Dominik Honnef " +hostmakedepends="pkg-config" +makedepends="libsigc++-devel" +license="GPL-2" +homepage="https://launchpad.net/libpar2" +short_desc="Allows for the generation, modification, verification, and repair of PAR and PAR2 recovery sets" +distfiles="https://launchpad.net/${pkgname}/trunk/${version}/+download/${pkgname}-${version}.tar.gz" +checksum=316d6f0eb31eb896f5546171c2e86801aeffe5ae5e2decffc17f0018346796d4 + +libpar2-devel_package() { + depends="libsigc++-devel ${sourcepkg}-${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/libpar2/include/ + vmove "usr/lib/*.a" + vmove "usr/lib/*.so" + } +}