wok rev 7215
add libfm (mv from undigest)
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Wed Nov 10 21:25:08 2010 -0500 (2010-11-10) |
parents | 4bf6ae5356e1 |
children | 7e37dec13d5a |
files | libfm-dev/receipt libfm/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libfm-dev/receipt Wed Nov 10 21:25:08 2010 -0500 1.3 @@ -0,0 +1,19 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="libfm-dev" 1.7 +VERSION="0.1.12" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Libfm devel files." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +WANTED="libfm" 1.12 +WEB_SITE="http://pcmanfm.sourceforge.net" 1.13 + 1.14 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.15 +genpkg_rules() 1.16 +{ 1.17 + mkdir -p $fs/usr/lib/gio/modules 1.18 + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib 1.19 + cp -a $_pkg/usr/lib/gio/modules/*.*a $fs/usr/lib/gio/modules 1.20 + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib 1.21 + cp -a $_pkg/usr/include $fs/usr 1.22 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/libfm/receipt Wed Nov 10 21:25:08 2010 -0500 2.3 @@ -0,0 +1,46 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="libfm" 2.7 +VERSION="0.1.12" 2.8 +CATEGORY="system-tools" 2.9 +SHORT_DESC="File manager library from LXDE." 2.10 +MAINTAINER="pankso@slitaz.org" 2.11 +DEPENDS="glibc-base glib libgio util-linux-ng-uuid libxcb xcb-util expat \ 2.12 +zlib fontconfig freetype gtk+ atk cairo pango pixman menu-cache" 2.13 +BUILD_DEPENDS="$DEPENDS gtk+-dev gamin-dev shared-mime-info intltool \ 2.14 +hal-dev dbus-glib-dev dbus-dev startup-notification-dev libxcb-dev \ 2.15 +xcb-util-dev menu-cache-dev expat-dev" 2.16 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.17 +WEB_SITE="http://pcmanfm.sourceforge.net" 2.18 +WGET_URL="$SF_MIRROR/pcmanfm/files/$TARBALL" 2.19 + 2.20 +# Rules to configure and make the package. 2.21 +compile_rules() 2.22 +{ 2.23 + cd $src 2.24 + chmod +x install-sh 2.25 + ./configure \ 2.26 + --prefix=/usr \ 2.27 + --mandir=/usr/share/man \ 2.28 + --sysconfdir=/etc \ 2.29 + $CONFIGURE_ARGS && 2.30 + make && 2.31 + make DESTDIR=$PWD/_pkg install 2.32 +} 2.33 + 2.34 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.35 +genpkg_rules() 2.36 +{ 2.37 + mkdir -p $fs/usr/lib/gio/modules 2.38 + cp -a $_pkg/etc $fs 2.39 + cp -a $_pkg/usr/bin $fs/usr 2.40 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 2.41 + cp -a $_pkg/usr/lib/gio/modules/*.so $fs/usr/lib/gio/modules 2.42 +} 2.43 + 2.44 +post_install() 2.45 +{ 2.46 + # update mime-cache 2.47 + echo "Updating mime-types database" 2.48 + update-mime-database $1/usr/share/mime 2.49 +}