Merge branch 'master' of github.com:onekk/xbps-packages into onekk-master

This commit is contained in:
Juan RP 2014-04-18 08:03:39 +02:00
commit 1bd5baa8de
4 changed files with 43 additions and 0 deletions

View File

@ -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

40
srcpkgs/a2ps/template Normal file
View File

@ -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 <carlo.dormeletti@email.it>"
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.*"
}
}

1
srcpkgs/liba2ps Symbolic link
View File

@ -0,0 +1 @@
a2ps/

1
srcpkgs/liba2ps-devel Symbolic link
View File

@ -0,0 +1 @@
a2ps/