diff --git a/common/shlibs b/common/shlibs index c15de4178ed..92d9d8fca84 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1557,3 +1557,4 @@ libogmrip.so.1 ogmrip-1.0.0_1 libogmrip-lavc.so.1 ogmrip-1.0.0_1 libogmdvd-gtk.so.1 ogmrip-1.0.0_1 libSDL2_image-2.0.so.0 SDL2_image-2.0.0_1 +liba2ps.so.1 liba2ps-4.14_1 diff --git a/srcpkgs/a2ps/template b/srcpkgs/a2ps/template new file mode 100644 index 00000000000..765316e9af0 --- /dev/null +++ b/srcpkgs/a2ps/template @@ -0,0 +1,40 @@ +# Template file for 'a2ps' + +pkgname="a2ps" +version="4.14" +revision=1 +build_style=gnu-configure +short_desc="Any to PS filter" +maintainer="Carlo Dormeletti " +license="GPL-3" +hostmakedepends="perl gperf" +makedepends="ghostscript psutils groff cups" +depends="${makedepends} liba2ps" +configure_args="--sysconfdir=/etc/a2ps --enable-shared --with-medium=A4" +LDFLAGS="-lm" +conf_files="/etc/a2ps/a2ps.cfg /etc/a2ps/a2ps-site.cfg" +homepage="http://www.gnu.org/software/a2ps/" +distfiles="http://ftp.gnu.org/gnu/a2ps/a2ps-${version}.tar.gz" +checksum="f3ae8d3d4564a41b6e2a21f237d2f2b104f48108591e8b83497500182a3ab3a4" + +pre_configure() { + sed -i "s/GPERF --version |/& head -n 1 |/" ./configure + sed -i "s|/usr/local/share|/usr/share|" ./configure +} + +liba2ps-devel_package() { + short_desc+=" - development files" + depends="liba2ps>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + } +} + +liba2ps_package() { + short_desc+=" - library files" + pkg_install() { + vmove "usr/lib/*.so.*" + + } +} diff --git a/srcpkgs/liba2ps b/srcpkgs/liba2ps new file mode 120000 index 00000000000..64c3e4ccca0 --- /dev/null +++ b/srcpkgs/liba2ps @@ -0,0 +1 @@ +a2ps/ \ No newline at end of file diff --git a/srcpkgs/liba2ps-devel b/srcpkgs/liba2ps-devel new file mode 120000 index 00000000000..64c3e4ccca0 --- /dev/null +++ b/srcpkgs/liba2ps-devel @@ -0,0 +1 @@ +a2ps/ \ No newline at end of file