libwmf: new deps style, converted to subpkgs.
--HG-- extra : convert_revision : 3d8a78f33f58e48e405f4c3108fca56e9f756ce6
This commit is contained in:
parent
29a244c1b3
commit
8e7b4950c0
1
templates/libwmf-devel
Symbolic link
1
templates/libwmf-devel
Symbolic link
@ -0,0 +1 @@
|
||||
libwmf
|
2
templates/libwmf/depends
Normal file
2
templates/libwmf/depends
Normal file
@ -0,0 +1,2 @@
|
||||
abi_depends=0.2.8.4
|
||||
api_depends=${abi_depends}
|
23
templates/libwmf/devel.template
Normal file
23
templates/libwmf/devel.template
Normal file
@ -0,0 +1,23 @@
|
||||
# Template file for 'libwmf-devel'.
|
||||
#
|
||||
short_desc="${sourcepkg} development files"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
Add_dependency run libwmf
|
||||
|
||||
do_install()
|
||||
{
|
||||
local gtk_abiver="2.10.0"
|
||||
|
||||
mkdir -p ${DESTDIR}/usr/lib/gtk-2.0/${gtk_abiver}/loaders
|
||||
mkdir -p ${DESTDIR}/usr/bin ${DESTDIR}/usr/share
|
||||
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/lib*.so ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/share/doc ${DESTDIR}/usr/share
|
||||
mv ${SRCPKGDESTDIR}/usr/bin/libwmf-config ${DESTDIR}/usr/bin
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/gtk-2.0/${gtk_abiver}/loaders/*.*a \
|
||||
${DESTDIR}/usr/lib/gtk-2.0/${gtk_abiver}/loaders
|
||||
}
|
@ -1,17 +1,15 @@
|
||||
# Template build file for 'libwmf'.
|
||||
pkgname=libwmf
|
||||
sourcepkg=$pkgname
|
||||
version=0.2.8.4
|
||||
distfiles="$SOURCEFORGE_SITE/wvware/$pkgname-$version.tar.gz"
|
||||
distfiles="${SOURCEFORGE_SITE}/wvware/$pkgname-$version.tar.gz"
|
||||
build_style=gnu_configure
|
||||
configure_args="
|
||||
--with-sysfontmap=$XBPS_MASTERDIR/share/fonts/fontmap
|
||||
--with-fontdir=$XBPS_DESTDIR/$pkgname-$version/share/fonts
|
||||
--with-gsfontmap=$XBPS_MASTERDIR/share/ghostscript/fonts/fontmap
|
||||
--with-gsfontdir=$XBPS_DESTDIR/$pkgname-$version/share/ghostscript/fonts
|
||||
--with-docdir=$XBPS_DESTDIR/$pkgname-$version/share/doc/libwmf"
|
||||
configure_args="--with-gsfontdir=/usr/share/fonts/Type1
|
||||
--with-fontdir=/usr/share/fonts/Type1
|
||||
--with-gsfontmap=/usr/share/ghostscript/8.15/lib/Fontmap.GS"
|
||||
short_desc="Library for reading and converting WMF (Windows Meta Files)"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=98cd631adb5bb332d9224d04bc8a265c105435f2
|
||||
checksum=5b345c69220545d003ad52bfd035d5d6f4f075e65204114a9e875e84895a7cf8
|
||||
long_desc="
|
||||
libwmf is a library for UNIX-like machines that can convert wmf
|
||||
(Windows Meta Files) files into other formats. Currently it supports
|
||||
@ -21,3 +19,21 @@ long_desc="
|
||||
Without a TrueType font server and the standard MS Windows fonts, the X
|
||||
binding might render text in a different font than would appear under
|
||||
MS Windows natively (this is a runtime issue for the wmf2x program)."
|
||||
|
||||
triggers="gtk-pixbuf-loaders"
|
||||
|
||||
subpackages="devel"
|
||||
Add_dependency build pkg-config
|
||||
Add_dependency full glibc
|
||||
Add_dependency full freetype
|
||||
Add_dependency full jpeg
|
||||
Add_dependency full libpng
|
||||
Add_dependency full expat
|
||||
Add_dependency full gtk+
|
||||
Add_dependency full gsfonts
|
||||
Add_dependency full gd
|
||||
|
||||
post_install()
|
||||
{
|
||||
rm -rf ${DESTDIR}/usr/share/fonts
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user