# SliTaz package receipt. PACKAGE="fltk" VERSION="1.3.0" CATEGORY="system-tools" SHORT_DESC="Fast Light Tool Kit (provide fluid)." MAINTAINER="pankso@slitaz.org" DEPENDS="expat fontconfig freetype libpng jpeg xorg-libX11 xorg-libXau xorg-libXdmcp \ xorg-libXext xorg-libXft xorg-libXrender zlib libpng gcc-lib-base mesa libglu-mesa" BUILD_DEPENDS="jpeg-dev libpng-dev libglu-mesa mesa mesa-dev" TARBALL="$PACKAGE-$VERSION-source.tar.gz" WEB_SITE="http://www.fltk.org/" WGET_URL="http://ftp.easysw.com/pub/fltk/$VERSION/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src ./configure \ --prefix=/usr \ --mandir=/usr/share/man \ --enable-shared \ --enable-xft \ --enable-threads \ $CONFIGURE_ARGS && make $MAKEFLAGS && make DESTDIR=$PWD/_pkg install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share/pixmaps cp -a $_pkg/usr/bin/fluid $fs/usr/bin cp -a $_pkg/usr/lib/*.so* $fs/usr/lib cp $src/fluid/icons/fluid-32.png $fs/usr/share/pixmaps/fluid.png }