wok-6.x annotate shared-mime-info/receipt @ rev 23785
updated xz and xz-dev (5.2.4 -> 5.2.5)
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 22 06:25:33 2020 +0100 (2020-05-22) |
parents | fdc520591ac1 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pankso@150 | 1 # SliTaz package receipt. |
pankso@150 | 2 |
pankso@150 | 3 PACKAGE="shared-mime-info" |
Hans-G?nter@23643 | 4 VERSION="1.15" |
al@19176 | 5 CATEGORY="system-tools" |
pankso@150 | 6 SHORT_DESC="Core database of common types and the *update-mime-database*." |
pankso@150 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
Hans-G?nter@21906 | 9 WEB_SITE="https://freedesktop.org/wiki/Software/shared-mime-info" |
Hans-G?nter@21906 | 10 |
Hans-G?nter@21906 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21907 | 12 WGET_URL="https://github.com/freedesktop/xdg-$PACKAGE/archive/Release-${VERSION/./-}.tar.gz" |
pankso@16132 | 13 |
al@18663 | 14 DEPENDS="glib" |
Hans-G?nter@23643 | 15 BUILD_DEPENDS="autoconf automake bash intltool itstool" |
Hans-G?nter@23643 | 16 |
Hans-G?nter@23643 | 17 HOST_ARCH="i486 arm" |
pankso@150 | 18 |
pankso@16132 | 19 # Handle cross compilation. Host perl/intltool are used |
pankso@16132 | 20 case "$ARCH" in |
pankso@16132 | 21 arm*) BUILD_DEPENDS="glib-dev libxml2-dev" ;; |
pankso@16132 | 22 esac |
slaxemulator@10340 | 23 |
pankso@150 | 24 # Rules to configure and make the package. |
pankso@150 | 25 compile_rules() |
pankso@150 | 26 { |
al@18663 | 27 #patch -Np1 -i $stuff/pbm.patch |
Hans-G?nter@21906 | 28 |
Hans-G?nter@23643 | 29 # remove #!/bin/sh from autogen.sh, since bash is required: |
Hans-G?nter@23643 | 30 sed -i '1d' ./autogen.sh |
Hans-G?nter@23643 | 31 |
Hans-G?nter@21906 | 32 bash -c ./autogen.sh && |
al@18663 | 33 ./configure $CONFIGURE_ARGS && |
Hans-G?nter@21906 | 34 make -j1 && |
Hans-G?nter@21906 | 35 make -j1 DESTDIR=$DESTDIR install |
pankso@150 | 36 } |
pankso@150 | 37 |
pankso@150 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@150 | 39 genpkg_rules() |
pankso@150 | 40 { |
al@17261 | 41 mkdir -p $fs/usr/share/mime |
Hans-G?nter@21906 | 42 |
Hans-G?nter@21906 | 43 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21906 | 44 cp -a $install/usr/share/mime/packages $fs/usr/share/mime |
al@17261 | 45 |
al@17261 | 46 # Additional MIME-types supported by SliTaz |
Hans-G?nter@21906 | 47 cp $stuff/*.xml $fs/usr/share/mime/packages |
pankso@150 | 48 } |