wok-next annotate gnome-mime-data/receipt @ rev 11277
Up: lxtask, lxrandr, lxmenu-data
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Thu Nov 10 03:21:19 2011 +0000 (2011-11-10) |
parents | b9e9fdb48392 |
children | d1c17bd2c2bc |
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" |
slaxemulator@7731 | 8 DEPENDS="perl-xml-parser" |
slaxemulator@7731 | 9 BUILD_DEPENDS="perl-xml-parser gettext" |
slaxemulator@7731 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@7731 | 11 WEB_SITE="http://www.gnome.org" |
slaxemulator@7731 | 12 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" |
slaxemulator@7731 | 13 |
slaxemulator@7731 | 14 # Rules to configure and make the package. |
slaxemulator@7731 | 15 compile_rules() |
slaxemulator@7731 | 16 { |
slaxemulator@7731 | 17 cd $src |
slaxemulator@7731 | 18 ./configure \ |
slaxemulator@7731 | 19 --prefix=/usr \ |
slaxemulator@7731 | 20 --sysconfdir=/etc/gnome \ |
slaxemulator@7731 | 21 $CONFIGURE_ARGS && |
slaxemulator@7731 | 22 make && make DESTDIR=$PWD/_pkg install |
slaxemulator@7731 | 23 } |
slaxemulator@7731 | 24 |
slaxemulator@7731 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7731 | 26 genpkg_rules() |
slaxemulator@7731 | 27 { |
slaxemulator@7750 | 28 mkdir -p $fs/usr/share $fs/usr/lib |
slaxemulator@7731 | 29 |
slaxemulator@7731 | 30 cp -a $_pkg/etc $fs/ |
slaxemulator@7750 | 31 cp -a $_pkg/usr/share/application-registry $fs/usr/share |
slaxemulator@7750 | 32 cp -a $_pkg/usr/share/mime-info $fs/usr/share |
slaxemulator@7750 | 33 cp -a $_pkg/usr/share/pkgconfig $fs/usr/lib |
slaxemulator@7731 | 34 |
slaxemulator@7731 | 35 } |
slaxemulator@7731 | 36 |