libxslt: converted to subpkgs, new deps style.

--HG--
extra : convert_revision : aacafae8dfa5cc12342acb2fb4bd76e0a1b74b3d
This commit is contained in:
Juan RP 2009-03-21 01:01:42 +01:00
parent 3d265dd292
commit 3586c912e2
6 changed files with 57 additions and 3 deletions

1
templates/libxslt-devel Symbolic link
View file

@ -0,0 +1 @@
libxslt

1
templates/libxslt-python Symbolic link
View file

@ -0,0 +1 @@
libxslt

View file

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

View file

@ -0,0 +1,25 @@
# Template file for 'libxslt-devel'.
#
short_desc="${short_desc} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run libxslt
do_install()
{
mkdir -p ${DESTDIR}/usr/bin
mkdir -p ${DESTDIR}/usr/lib
mkdir -p ${DESTDIR}/usr/share/doc
mkdir -p ${DESTDIR}/usr/share/man/man1
mv ${SRCPKGDESTDIR}/usr/bin/xslt-config ${DESTDIR}/usr/bin
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/xsltConf.sh ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/aclocal ${DESTDIR}/usr/share
mv ${SRCPKGDESTDIR}/usr/share/doc/${sourcepkg}-${version} \
${DESTDIR}/usr/share/doc
}

View file

@ -0,0 +1,20 @@
# Template file for 'libxslt-python'.
#
short_desc="${short_desc} (python extension)"
long_desc="${long_desc}
This package contains ${sourcepkg} python related files."
Add_dependency run glibc
Add_dependency run python
Add_dependency run libxslt
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mkdir -p ${DESTDIR}/usr/share/doc
mv ${SRCPKGDESTDIR}/usr/lib/python* ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/doc/${sourcepkg}-python-${version} \
${DESTDIR}/usr/share/doc
}

View file

@ -1,16 +1,21 @@
# Template build file for 'libxslt'. # Template build file for 'libxslt'.
pkgname=libxslt pkgname=libxslt
sourcepkg=$pkgname
version=1.1.24 version=1.1.24
distfiles="ftp://xmlsoft.org/libxslt/$pkgname-$version.tar.gz" distfiles="ftp://xmlsoft.org/libxslt/$pkgname-$version.tar.gz"
build_style=gnu_configure build_style=gnu_configure
make_cmd="$XBPS_MASTERDIR/bin/gmake"
pkgconfig_override="libxslt.pc libexslt.pc"
short_desc="XSLT parser library from the GNOME project" short_desc="XSLT parser library from the GNOME project"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
checksum=41e7721eeed722c45310877d045422b47ab32973 checksum=c0c10944841e9a79f29d409c6f8da0d1b1af0403eb3819c82c788dfa6a180b3e
long_desc=" long_desc="
Libxslt is the XSLT C library developed for the Gnome project. XSLT itself is Libxslt is the XSLT C library developed for the Gnome project. XSLT itself is
an XML language to define transformation for XML. Libxslt is based on libxml2 an XML language to define transformation for XML. Libxslt is based on libxml2
the XML C library developed for the Gnome project. It also implements most of the XML C library developed for the Gnome project. It also implements most of
the EXSLT set of extensions functions and some of Saxon's evaluate and the EXSLT set of extensions functions and some of Saxon's evaluate and
expressions extensions." expressions extensions."
subpackages="devel python"
Add_dependency full glibc
Add_dependency full libxml2
Add_dependency full libgcrypt
Add_dependency build python