wok view shared-mime-info/receipt @ rev 22394
AES Crypt 3.13 -> 3.14
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Wed Dec 04 17:22:14 2019 +0000 (2019-12-04) |
parents | 4cd0b5691566 |
children | fdc520591ac1 |
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"
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 }