wok-current view cwallpaper-fltk/receipt @ rev 18069
smtube: try to fix build
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed May 20 00:18:47 2015 +0200 (2015-05-20) |
parents | |
children | 076f424196b2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cwallpaper-fltk"
4 VERSION="0.4.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="PC XT-compatible emulator/virtual machine."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://cwallpaper.sourceforge.net"
11 WGET_URL="$SF_MIRROR/cwallpaper/$PACKAGE/cwallpaper-fltk-$VERSION/$TARBALL"
12 HOST_ARCH="i486 arm"
14 SUGGESTED="hsetroot feh"
15 DEPENDS="fltk"
16 BUILD_DEPENDS="fltk-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i s"#g++#${HOST_SYSTEM}-g++#" Makefile || return 1
22 make && mkdir -p ${DESTDIR}/usr/bin/ &&
23 make DESTDIR=${DESTDIR} install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share/cwallpaper
30 cp -a $install/usr/bin $fs/usr
31 cp $install/usr/share/cwallpaper/example_config \
32 $fs/usr/share/cwallpaper
33 }