wok annotate gnome-mime-data/receipt @ rev 19660
Up cookutils (874)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jan 28 13:03:20 2017 +0200 (2017-01-28) |
parents | fc1088e5ec0e |
children | 6e8b1bcb30e2 |
rev | line source |
---|---|
slaxemulator@7731 | 1 # SliTaz package receipt. |
slaxemulator@7731 | 2 |
slaxemulator@7731 | 3 PACKAGE="gnome-mime-data" |
slaxemulator@7731 | 4 VERSION="2.18.0" |
slaxemulator@7731 | 5 CATEGORY="x-window" |
slaxemulator@7731 | 6 SHORT_DESC="The GNOME Mime Data file types" |
slaxemulator@7731 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15589 | 8 LICENSE="GPL2" |
slaxemulator@7731 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@7731 | 10 WEB_SITE="http://www.gnome.org" |
slaxemulator@7731 | 11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" |
slaxemulator@7731 | 12 |
pascal@15589 | 13 DEPENDS="perl-xml-parser" |
pascal@15589 | 14 BUILD_DEPENDS="perl-xml-parser gettext" |
pascal@15589 | 15 |
slaxemulator@7731 | 16 # Rules to configure and make the package. |
slaxemulator@7731 | 17 compile_rules() |
slaxemulator@7731 | 18 { |
slaxemulator@7731 | 19 cd $src |
slaxemulator@7731 | 20 ./configure \ |
slaxemulator@7731 | 21 --prefix=/usr \ |
slaxemulator@7731 | 22 --sysconfdir=/etc/gnome \ |
slaxemulator@7731 | 23 $CONFIGURE_ARGS && |
pascal@15589 | 24 make && make DESTDIR=$DESTDIR install |
slaxemulator@7731 | 25 } |
slaxemulator@7731 | 26 |
slaxemulator@7731 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7731 | 28 genpkg_rules() |
slaxemulator@7731 | 29 { |
slaxemulator@7750 | 30 mkdir -p $fs/usr/share $fs/usr/lib |
slaxemulator@7731 | 31 |
pascal@15589 | 32 cp -a $install/etc $fs/ |
pascal@15589 | 33 cp -a $install/usr/share/application-registry $fs/usr/share |
pascal@15589 | 34 cp -a $install/usr/share/mime-info $fs/usr/share |
pascal@15589 | 35 cp -a $install/usr/share/pkgconfig $fs/usr/lib |
slaxemulator@7731 | 36 |
slaxemulator@7731 | 37 } |
slaxemulator@7731 | 38 |