wok-next view shared-mime-info/receipt @ rev 20549
gimp: tiny edits
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Apr 04 17:32:49 2018 +0300 (2018-04-04) |
parents | 4ca71b0ef823 |
children | 7729bf733291 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="shared-mime-info"
4 VERSION="1.8"
5 CATEGORY="system-tools"
6 SHORT_DESC="Core database of common types"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://freedesktop.org/wiki/Software/shared-mime-info/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="http://freedesktop.org/~hadess/$TARBALL"
14 BUILD_DEPENDS_arm="glib-dev libxml2-dev"
15 BUILD_DEPENDS="intltool"
16 SPLIT="shared-mime-info-dev"
18 compile_rules() {
19 # Remove unsupported locales
20 for i in $(grep '^-[a-z]' $stuff/patches/slitaz-locales.patch); do
21 rm $src/po/${i#-}.po
22 done
24 ./configure \
25 --disable-update-mimedb \
26 $CONFIGURE_ARGS &&
27 make -j1 && make -j1 DESTDIR=$DESTDIR install
29 # Additional MIME-types supported by SliTaz
30 cp $stuff/*.xml $install/usr/share/mime/packages
32 # strip a bit
33 sed -i 's|^ *||' "$install/usr/share/mime/packages/freedesktop.org.xml"
34 }
36 genpkg_rules() {
37 case $PACKAGE in
38 shared-mime-info)
39 copy bin/ packages/
40 DEPENDS="glib libxml2"
41 ;;
42 *-dev) copy @dev;;
43 esac
44 }