# SliTaz package receipt. PACKAGE="desktop-file-utils" VERSION="0.18" CATEGORY="x-window" SHORT_DESC="Desktop file utils from Freedesktop (update-desktop-database)." DEPENDS="glib" BUILD_DEPENDS="pkg-config glib-dev" MAINTAINER="pankso@slitaz.org" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://www.freedesktop.org/wiki/Software/desktop-file-utils" WGET_URL="http://www.freedesktop.org/software/desktop-file-utils/releases/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src ./configure \ --prefix=/usr \ $CONFIGURE_ARGS && make DESTDIR=$PWD/_pkg install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin cp $_pkg/usr/bin/update-desktop-database $fs/usr/bin }