wok view xdg-utils/receipt @ rev 6914

Added xz to busybox. Doesn't change size of busybox. This is show we can use tar.xz compress for tazpkg files if we want to. Added pre_install and post_remove functions to xz receipt.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Oct 21 23:49:16 2010 +0000 (2010-10-21)
parents
children 6ce2795cffec
line source
1 # SliTaz package receipt.
3 PACKAGE="xdg-utils"
4 VERSION="1.0.2"
5 CATEGORY="development"
6 SHORT_DESC="Assists desktop integration tasks."
7 MAINTAINER="paul@slitaz.org"
8 DEPENDS=""
9 TARBALL="$PACKAGE-$VERSION.tgz"
10 WEB_SITE="http://portland.freedesktop.org/wiki/"
11 WGET_URL="http://portland.freedesktop.org/download/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 --infodir=/usr/share/info \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make && make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr/bin $fs/usr
30 }