wok-4.x view xarchive/receipt @ rev 2635
syslinux: Boot message with 2.0
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Apr 16 19:47:39 2009 +0200 (2009-04-16) |
parents | 52dc4b48ed81 |
children | d1d5df9b017e |
line source
1 # SliTaz package receipt.
3 PACKAGE="xarchive"
4 VERSION="0.2.8-6"
5 CATEGORY="x-window"
6 SHORT_DESC="A GTK+ front-end for command line archiving tools."
7 MAINTAINER="erjo@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 DEPENDS="gtk+ xorg-libXdamage"
10 BUILD_DEPENDS="pkg-config gtk+ gtk+-dev"
11 WEB_SITE="http://xarchive.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.ls sr
15 compile_rules()
16 {
17 cd $src
18 # patch tar-wrap for busybox tar option
19 [ -f done.slitaz-xarchive-wrappers-0.2.8-6.patch ] || \
20 patch -p1 -i ../stuff/slitaz-xarchive-wrappers-0.2.8-6.patch
21 touch done.slitaz-xarchive-wrappers-0.2.8-6.patch
23 ./configure --prefix=/usr --infodir=/usr/share/info \
24 --mandir=/usr/share/man $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib/xarchive/wrappers
34 cp -a $_pkg/usr/bin $fs/usr
35 sed -i 's|#!\s*/bin/bash|#!/bin/sh|' $_pkg/usr/lib/xarchive/wrappers/*
36 cp stuff/slitaz-wrap.sh $fs/usr/lib/xarchive/wrappers
37 strip -s $fs/usr/bin/*
38 }