wok-current annotate shared-mime-info/receipt @ rev 19832
Up apulse (0.1.8+ae3ea44)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Fri Mar 10 20:46:32 2017 +0100 (2017-03-10) |
parents | 124c3a7da04f |
children | 4cd0b5691566 |
rev | line source |
---|---|
pankso@150 | 1 # SliTaz package receipt. |
pankso@150 | 2 |
pankso@150 | 3 PACKAGE="shared-mime-info" |
al@19176 | 4 VERSION="1.6" |
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" |
slaxemulator@11033 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pankso@150 | 10 WEB_SITE="http://freedesktop.org/wiki/Software/shared-mime-info" |
pankso@150 | 11 WGET_URL="http://freedesktop.org/~hadess/$TARBALL" |
pankso@16315 | 12 HOST_ARCH="i486 arm" |
pankso@16132 | 13 |
al@18663 | 14 DEPENDS="glib" |
al@18663 | 15 BUILD_DEPENDS="intltool" |
pankso@150 | 16 |
pankso@16132 | 17 # Handle cross compilation. Host perl/intltool are used |
pankso@16132 | 18 case "$ARCH" in |
pankso@16132 | 19 arm*) BUILD_DEPENDS="glib-dev libxml2-dev" ;; |
pankso@16132 | 20 esac |
slaxemulator@10340 | 21 |
pankso@150 | 22 # Rules to configure and make the package. |
pankso@150 | 23 compile_rules() |
pankso@150 | 24 { |
al@18663 | 25 #patch -Np1 -i $stuff/pbm.patch |
al@18663 | 26 ./configure $CONFIGURE_ARGS && |
al@18663 | 27 make -j1 && make -j1 DESTDIR=$DESTDIR install |
pankso@150 | 28 } |
pankso@150 | 29 |
pankso@150 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@150 | 31 genpkg_rules() |
pankso@150 | 32 { |
al@17261 | 33 mkdir -p $fs/usr/share/mime |
pascal@15000 | 34 cp -a $install/usr/bin $fs/usr |
al@17261 | 35 cp -a $install/usr/share/mime/packages $fs/usr/share/mime |
al@17261 | 36 |
al@17261 | 37 # Additional MIME-types supported by SliTaz |
al@17261 | 38 cp $stuff/*.xml $fs/usr/share/mime/packages |
pankso@150 | 39 } |