wok-6.x view shared-mime-info/receipt @ rev 18734
Remove redundant messages in {pre|post}_{install|remove}() in random packages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Dec 21 02:53:09 2015 +0200 (2015-12-21) |
parents | 533c0cab6960 |
children | cd38699cf179 |
line source
1 # SliTaz package receipt.
3 PACKAGE="shared-mime-info"
4 VERSION="1.3"
5 CATEGORY="x-window"
6 SHORT_DESC="Core database of common types and the *update-mime-database*."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://freedesktop.org/wiki/Software/shared-mime-info"
11 WGET_URL="http://freedesktop.org/~hadess/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="glib"
15 BUILD_DEPENDS="intltool"
17 # Handle cross compilation. Host perl/intltool are used
18 case "$ARCH" in
19 arm*) BUILD_DEPENDS="glib-dev libxml2-dev" ;;
20 esac
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 #patch -Np1 -i $stuff/pbm.patch
26 ./configure $CONFIGURE_ARGS &&
27 make -j1 && make -j1 DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share/mime
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/share/mime/packages $fs/usr/share/mime
37 # Additional MIME-types supported by SliTaz
38 cp $stuff/*.xml $fs/usr/share/mime/packages
39 }