wok annotate libfm/receipt @ rev 7817
busybox/init: add subroot= parameter
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 25 15:12:42 2010 +0100 (2010-12-25) |
parents | a30eb91de0a3 |
children |
rev | line source |
---|---|
jozee@7215 | 1 # SliTaz package receipt. |
jozee@7215 | 2 |
jozee@7215 | 3 PACKAGE="libfm" |
jozee@7217 | 4 VERSION="0.1.14" |
jozee@7215 | 5 CATEGORY="system-tools" |
jozee@7215 | 6 SHORT_DESC="File manager library from LXDE." |
jozee@7215 | 7 MAINTAINER="pankso@slitaz.org" |
jozee@7215 | 8 DEPENDS="glibc-base glib libgio util-linux-ng-uuid libxcb xcb-util expat \ |
jozee@7215 | 9 zlib fontconfig freetype gtk+ atk cairo pango pixman menu-cache" |
jozee@7215 | 10 BUILD_DEPENDS="$DEPENDS gtk+-dev gamin-dev shared-mime-info intltool \ |
jozee@7215 | 11 hal-dev dbus-glib-dev dbus-dev startup-notification-dev libxcb-dev \ |
jozee@7215 | 12 xcb-util-dev menu-cache-dev expat-dev" |
jozee@7215 | 13 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@7215 | 14 WEB_SITE="http://pcmanfm.sourceforge.net" |
jozee@7215 | 15 WGET_URL="$SF_MIRROR/pcmanfm/files/$TARBALL" |
jozee@7215 | 16 |
jozee@7215 | 17 # Rules to configure and make the package. |
jozee@7215 | 18 compile_rules() |
jozee@7215 | 19 { |
jozee@7215 | 20 cd $src |
jozee@7215 | 21 chmod +x install-sh |
jozee@7215 | 22 ./configure \ |
jozee@7215 | 23 --prefix=/usr \ |
jozee@7215 | 24 --mandir=/usr/share/man \ |
jozee@7215 | 25 --sysconfdir=/etc \ |
jozee@7215 | 26 $CONFIGURE_ARGS && |
jozee@7215 | 27 make && |
jozee@7215 | 28 make DESTDIR=$PWD/_pkg install |
jozee@7215 | 29 } |
jozee@7215 | 30 |
jozee@7215 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@7215 | 32 genpkg_rules() |
jozee@7215 | 33 { |
jozee@7215 | 34 mkdir -p $fs/usr/lib/gio/modules |
jozee@7215 | 35 cp -a $_pkg/etc $fs |
jozee@7215 | 36 cp -a $_pkg/usr/bin $fs/usr |
jozee@7215 | 37 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
jozee@7215 | 38 cp -a $_pkg/usr/lib/gio/modules/*.so $fs/usr/lib/gio/modules |
jozee@7215 | 39 } |
jozee@7215 | 40 |
jozee@7215 | 41 post_install() |
jozee@7215 | 42 { |
jozee@7215 | 43 # update mime-cache |
jozee@7215 | 44 echo "Updating mime-types database" |
jozee@7215 | 45 update-mime-database $1/usr/share/mime |
jozee@7215 | 46 } |