wok-undigest view hinedo/receipt @ rev 92

Add pcmanfm2 (next generation pcmanfm)
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 02 18:26:08 2010 +0200 (2010-05-02)
parents c9b177413f24
children
line source
1 # SliTaz package receipt.
3 PACKAGE="hinedo"
4 VERSION="0.4"
5 CATEGORY="multimedia"
6 SHORT_DESC="Hinet radio client."
7 MAINTAINER="rocky@slitaz.org"
8 DEPENDS="python mplayer gtk+"
9 BUILD_DEPENDS="gtk+-dev gcc glibc-dev linux-headers make"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://hinedo.openfoundry.org/"
12 WGET_URL="http://of.openfoundry.org/download_path/hinedo/2007.11.18/$TARBALL"
13 TAG="radio chinese"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 while read file; do
20 [ -f done.$file ] && continue
21 echo "Apply $file..."
22 patch -p1 < ../stuff/$file || return 1
23 touch done.$file
24 done <<EOT
25 libdir.patch
26 EOT
27 make || return 1
28 mkdir -p $src/_pkg/usr/bin
29 make install DESTDIR=$PWD/_pkg
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $_pkg/usr/bin $fs/usr
37 cp -a $_pkg/usr/share $fs/usr
38 }