libXp: converted to subpkgs, new deps style.

--HG--
extra : convert_revision : 17920dbc0ef97cc1c64a9ceeae9cff00610361ec
This commit is contained in:
Juan RP 2009-03-19 04:05:15 +01:00
parent e1f072cc24
commit 3ff72a9dfd
4 changed files with 33 additions and 4 deletions

1
templates/libXp-devel Symbolic link
View File

@ -0,0 +1 @@
libXp

2
templates/libXp/depends Normal file
View File

@ -0,0 +1,2 @@
abi_depends=1.0.0
api_depends=${abi_depends}

View File

@ -0,0 +1,17 @@
# Template file for 'libXp-devel'.
#
short_desc="${short_desc} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run libXp
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/lib*.so ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr
}

View File

@ -1,16 +1,25 @@
# Template build file for 'libXp'.
pkgname=libXp
sourcepkg=$pkgname
version=1.0.0
distfiles="
http://xorg.freedesktop.org/releases/individual/lib/$pkgname-$version.tar.bz2"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
build_style=gnu_configure
pkgconfig_override="xp.pc"
short_desc="X Print Service Extension Library"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=5d12e6bd1598654d1aa47a818047d1e0c6f50145
checksum=7e64b1550ce85b05762e960459ac676a0406c786756b200ff29c57f84bce9cae
long_desc="
The X Print Service Extension Library (libXp) provides public APIs
to allow client applications to render to non-display devices.
It can query about printers, send jobs, and more.
This is from the modular X.org."
subpackages="devel"
Add_dependency build pkg-config
Add_dependency build xproto
Add_dependency build xextproto
Add_dependency build printproto
Add_dependency full glibc
Add_dependency full libX11
Add_dependency full libXext
Add_dependency full libXau