wok-4.x view lmms/receipt @ rev 10024

glibc: dont build with -Os and better use default CFLAGS also need --build and --host
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 19 18:19:46 2011 +0200 (2011-05-19)
parents 9f29d481b934
children
line source
1 # SliTaz package receipt.
3 PACKAGE="lmms"
4 VERSION="0.4.10"
5 CATEGORY="multimedia"
6 SHORT_DESC="The Linux MultiMedia Studio"
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="libsdl glib fluidsynth libpng libvorbis xorg-libXft xorg-libXinerama libsamplerate libQtGui libQtXml"
9 BUILD_DEPENDS="libsdl-dev glib-dev fluidsynth-dev libpng-dev libogg-dev libvorbis-dev alsa-lib-dev xorg-libXft-dev xorg-libXinerama-dev libsndfile-dev libsamplerate-dev Qt4-dev qt4-phonon qmake cmake pkg-config"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://lmms.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|lib64|lib|g' cmake/modules/DetectMachine.cmake
19 cmake . -DCMAKE_INSTALL_PREFIX=/usr
20 make && make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $_pkg/usr/* $fs/usr
28 }