wok-next view cwallpaper-fltk/receipt @ rev 20588
e4rat: fix packing
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 14 15:12:31 2018 +0300 (2018-04-14) |
parents | 2985612f2b3f |
children | d958fec46c9f |
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"
13 SUGGESTED="hsetroot feh"
14 DEPENDS="fltk"
15 BUILD_DEPENDS="fltk-dev xorg-libX11-dev xorg-libXinerama-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i s"#g++#${HOST_SYSTEM}-g++#" Makefile || return 1
21 make && mkdir -p ${DESTDIR}/usr/bin/ &&
22 make DESTDIR=${DESTDIR} install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share/cwallpaper
29 cp -a $install/usr/bin $fs/usr
30 cp $install/usr/share/cwallpaper/example_config \
31 $fs/usr/share/cwallpaper
32 }