wok view ggseq/receipt @ rev 12084

busybox: su should not chdir
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 09 18:20:06 2012 +0100 (2012-03-09)
parents
children 380ffe05937a
line source
1 # SliTaz package receipt.
3 PACKAGE="ggseq"
4 VERSION="0.3.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="Gungirl Sequencer is an easy to use Audiosequencer."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="wxWidgets libsndfile libsamplerate"
9 BUILD_DEPENDS="$DEPENDS wxWidgets-dev libsndfile-dev libsamplerate-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://ggseq.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i 's/SoundTouch::getVersionId/getVersionId/' src/SoundTouch/SoundTouch.h
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make && make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $_pkg/usr/bin $fs/usr
32 }