New package: fltk-1.3.0.

This commit is contained in:
Juan RP 2012-05-19 14:21:26 +02:00
parent c39e6d84d5
commit 86378d2154
6 changed files with 71 additions and 0 deletions

View File

@ -990,3 +990,7 @@ libieee1284.so.3 libieee1284 libieee1284-devel
libsane.so.1 libsane sane-devel
libhpmud.so.0 hplip hplip
libhpip.so.0 hplip hplip
libfltk.so.1.3 fltk fltk-devel
libfltk_forms.so.1.3 fltk fltk-devel
libfltk_gl.so.1.3 fltk fltk-devel
libfltk_images.so.1.3 fltk fltk-devel

1
srcpkgs/fltk-devel Symbolic link
View File

@ -0,0 +1 @@
fltk

2
srcpkgs/fltk/depends Normal file
View File

@ -0,0 +1,2 @@
abi_depends=">=1.3.0"
api_depends="${abi_depends}"

View File

@ -0,0 +1,17 @@
# Template file for 'fltk-devel'.
#
short_desc="${short_desc} -- development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run fltk ">=$version"
do_install() {
vmove usr/include usr
vmove "usr/lib/*.a" usr/lib
vmove usr/bin/fltk-config usr/bin
vmove usr/share/man/man1/fltk-config.1 usr/share/man/man1
vmove usr/share/man/man3 usr/share/man
vmove usr/share/doc usr/share
}

14
srcpkgs/fltk/fltk.rshlibs Normal file
View File

@ -0,0 +1,14 @@
libpng14.so.14
libpthread.so.0
libX11.so.6
libstdc++.so.6
libc.so.6
libXext.so.6
libXft.so.2
libfontconfig.so.1
libXinerama.so.1
libdl.so.2
libm.so.6
libgcc_s.so.1
libz.so.1
libjpeg.so.8

33
srcpkgs/fltk/template Normal file
View File

@ -0,0 +1,33 @@
# Template file for 'fltk'
pkgname=fltk
version=1.3.0
license="LGPL-2.1"
homepage="http://www.fltk.org/"
distfiles="http://ftp.easysw.com/pub/fltk/$version/fltk-$version-source.tar.gz"
build_style=gnu-configure
configure_args="--enable-threads --enable-xft --enable-shared"
short_desc="Cross-platform C++ GUI toolkit"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=990676808294cea4cca3de833ad5a5de08073c11b665356d4ecf35d22535b21c
long_desc="
FLTK (pronounced fulltick) is a cross-platform C++ GUI toolkit for UNIX/Linux (X11),
Microsoft Windows, and MacOS X. FLTK provides modern GUI functionality without the
bloat and supports 3D graphics via OpenGL and its built-in GLUT emulation.
FLTK is designed to be small and modular enough to be statically linked, but works
fine as a shared library. FLTK also includes an excellent UI builder called
FLUID that can be used to create applications in minutes."
subpackages="$pkgname-devel"
Add_dependency build jpeg-devel
Add_dependency build libpng-devel
Add_dependency build MesaLib-devel
Add_dependency build alsa-lib-devel
Add_dependency build freetype-devel
Add_dependency build libXinerama-devel
Add_dependency build libXft-devel
post_install() {
rm -rf ${DESTDIR}/usr/share/man/cat[13]
}