wok annotate libfm/receipt @ rev 13723

Added math libraries: CoCoALib, gf2x, NTL, PARI/GP as dependencies for Giac/Xcas (which is broken this time)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 21 08:37:05 2012 +0000 (2012-12-21)
parents 42fe21299957
children 4904e3d374a9
rev   line source
pascal@11205 1 # SliTaz package receipt.
pascal@11205 2
pascal@11205 3 PACKAGE="libfm"
pankso@13558 4 VERSION="1.1.0"
pascal@11205 5 CATEGORY="system-tools"
pascal@11205 6 SHORT_DESC="File manager library from LXDE."
pascal@11205 7 MAINTAINER="pankso@slitaz.org"
pankso@11897 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@11897 9 WEB_SITE="http://pcmanfm.sourceforge.net"
pankso@11897 10 WGET_URL="$SF_MIRROR/pcmanfm/files/$TARBALL"
pankso@11897 11
pankso@12481 12 DEPENDS="glibc-base glib libgio util-linux-uuid libxcb xcb-util expat \
pascal@11205 13 zlib fontconfig freetype gtk+ atk cairo pango pixman menu-cache"
pankso@13558 14 BUILD_DEPENDS="gtk+-dev gamin-dev shared-mime-info intltool dbus-glib-dev \
pankso@13558 15 dbus-dev startup-notification-dev libxcb-dev xcb-util-dev menu-cache-dev \
pankso@13558 16 expat-dev vala libgio-dev"
pascal@11205 17
pascal@11205 18 # Rules to configure and make the package.
pascal@11205 19 compile_rules()
pascal@11205 20 {
pascal@11205 21 cd $src
pascal@11205 22 ./configure \
pascal@11205 23 --sysconfdir=/etc \
pascal@11205 24 $CONFIGURE_ARGS &&
pankso@11897 25 make && make install
pascal@11205 26 }
pascal@11205 27
pascal@11205 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11205 29 genpkg_rules()
pascal@11205 30 {
pankso@11897 31 mkdir -p $fs/usr/lib $fs/usr/share
pankso@11897 32 cp -a $install/etc $fs
pankso@11897 33 cp -a $install/usr/bin $fs/usr
pankso@11897 34 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@11897 35 cp -a $install/usr/share/libfm $fs/usr/share
pankso@11897 36 cp -a $install/usr/share/mime $fs/usr/share
pankso@11897 37 cp -a $install/usr/share/applications $fs/usr/share
pascal@11205 38 }
pascal@11205 39
pascal@11205 40 post_install()
pascal@11205 41 {
pascal@11205 42 # update mime-cache
pascal@11205 43 echo "Updating mime-types database"
pascal@12196 44 chroot "$1/" /usr/bin/update-mime-database /usr/share/mime
pascal@11205 45 }