wok-next view shared-mime-info/receipt @ rev 19910
Add libjte; up libburn, libcclc, libccls, libctpp2, libdaq, libdes, libdisasm, libisofs.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Oct 13 05:58:05 2017 +0300 (2017-10-13) |
parents | ca2828ae20d6 |
children | 0e7893ac206d |
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/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="http://freedesktop.org/~hadess/$TARBALL"
15 BUILD_DEPENDS="intltool"
16 BUILD_DEPENDS_arm="glib-dev libxml2-dev"
17 SPLIT="shared-mime-info-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 # Remove unsupported locales
23 for i in $(grep '^-[a-z]' $stuff/patches/slitaz-locales.patch); do
24 rm $src/po/${i#-}.po
25 done
27 ./configure \
28 --disable-update-mimedb \
29 $CONFIGURE_ARGS &&
30 make -j1 && make -j1 DESTDIR=$DESTDIR install
32 # Additional MIME-types supported by SliTaz
33 cp $stuff/*.xml $install/usr/share/mime/packages
35 # strip a bit
36 sed -i 's|^ *||' "$install/usr/share/mime/packages/freedesktop.org.xml"
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 case $PACKAGE in
43 shared-mime-info)
44 copy bin/ packages/
45 DEPENDS="glib libxml2"
46 ;;
47 *-dev) copy @dev;;
48 esac
49 }