wok-current view xarchive/receipt @ rev 25146
updated portaudio and portaudio-dev (190600_20161030 -> 19.7.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 29 15:26:46 2022 +0100 (2022-06-29) |
parents | 8b8fae260ab7 |
children | 7dd01dedad38 |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 SUGGESTED="zip rar unace arj lha p7zip lzop linux-squashfs cromfs cabextract \
11 xz lrzip"
12 WEB_SITE="http://xarchive.sourceforge.net/"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 DEPENDS="gtk+ xorg-libXdamage"
16 BUILD_DEPENDS="pkg-config gtk+ gtk+-dev"
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
22 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|;q"
23 }
25 # Rules to configure and make the package.ls sr
26 compile_rules()
27 {
28 cd $src
29 # patch tar-wrap for busybox tar option
30 [ -f done.slitaz-xarchive-wrappers-0.2.8-6.patch ] || \
31 patch -p1 -i $stuff/slitaz-xarchive-wrappers-0.2.8-6.patch
32 touch done.slitaz-xarchive-wrappers-0.2.8-6.patch
34 ./configure --prefix=/usr --infodir=/usr/share/info \
35 --mandir=/usr/share/man $CONFIGURE_ARGS &&
37 make &&
38 make DESTDIR=$DESTDIR install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/lib/xarchive/wrappers
45 cp -a $install/usr/bin $fs/usr
46 sed -i 's|#!\s*/bin/bash|#!/bin/sh|' $install/usr/lib/xarchive/wrappers/*
47 cp $stuff/slitaz-wrap.sh $fs/usr/lib/xarchive/wrappers
48 }