wok-6.x view shared-mime-info/receipt @ rev 23341
updated perl-html-tree (4.1 -> 5.07)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 31 09:01:44 2020 +0100 (2020-03-31) |
parents | ab2c10a2e76a |
children | 4d225f2fc27b |
line source
1 # SliTaz package receipt.
3 PACKAGE="shared-mime-info"
4 VERSION="1.14"
5 CATEGORY="system-tools"
6 SHORT_DESC="Core database of common types and the *update-mime-database*."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://freedesktop.org/wiki/Software/shared-mime-info"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/freedesktop/xdg-$PACKAGE/archive/Release-${VERSION/./-}.tar.gz"
13 HOST_ARCH="i486 arm"
15 DEPENDS="glib"
16 BUILD_DEPENDS="bash intltool itstool automake"
18 # Handle cross compilation. Host perl/intltool are used
19 case "$ARCH" in
20 arm*) BUILD_DEPENDS="glib-dev libxml2-dev" ;;
21 esac
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 #patch -Np1 -i $stuff/pbm.patch
28 sed -i '1d' ./autogen.sh &&
29 bash -c ./autogen.sh &&
30 ./configure $CONFIGURE_ARGS &&
31 make -j1 &&
32 make -j1 DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share/mime
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/share/mime/packages $fs/usr/share/mime
43 # Additional MIME-types supported by SliTaz
44 cp $stuff/*.xml $fs/usr/share/mime/packages
45 }