a2ps: New Package
This commit is contained in:
parent
fbf88632a0
commit
fe34318b4a
|
@ -1557,4 +1557,4 @@ libogmrip-mplayer.so.1 ogmrip-1.0.0_1
|
|||
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
|
||||
|
||||
liba2ps.so.1 liba2ps-4.14_1
|
||||
|
|
|
@ -0,0 +1,41 @@
|
|||
# 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-2"
|
||||
hostmakedepends="perl gperf"
|
||||
makedepends="ghostscript ImageMagick psutils groff cups"
|
||||
depends="liba2ps>=${version}"
|
||||
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"
|
||||
|
||||
do_configure() {
|
||||
sed -i "s/GPERF --version |/& head -n 1 |/" ./configure
|
||||
sed -i "s|/usr/local/share|/usr/share|" ./configure
|
||||
LIBS+="-lm" ./configure --prefix=/usr --sysconfdir=/etc/a2ps --enable-shared --with-medium=A4
|
||||
}
|
||||
|
||||
|
||||
liba2ps-devel_package() {
|
||||
short_desc+=" - development files"
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove "usr/lib/*.a"
|
||||
}
|
||||
}
|
||||
|
||||
liba2ps_package() {
|
||||
short_desc+=" - library files"
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
pkg_install() {
|
||||
vmove "usr/lib/*.so.*"
|
||||
|
||||
}
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
a2ps/
|
|
@ -0,0 +1 @@
|
|||
a2ps/
|
Loading…
Reference in New Issue