wok-next view cwallpaper-fltk/receipt @ rev 20236
linux-cloop: tiny patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 06 10:18:18 2017 +0100 (2017-11-06) |
parents | 5e2a0043db11 |
children | c4e53a39395a |
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 xorg-libX11-dev xorg-libXinerama-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 }