wok annotate cwallpaper-fltk/receipt @ rev 20610

Up linux-libre (3.18.129) again
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 18 11:03:26 2018 +0100 (2018-12-18)
parents
children 076f424196b2
rev   line source
pankso@16361 1 # SliTaz package receipt.
pankso@16361 2
pankso@16361 3 PACKAGE="cwallpaper-fltk"
pankso@16361 4 VERSION="0.4.2"
pankso@16361 5 CATEGORY="system-tools"
pankso@16361 6 SHORT_DESC="PC XT-compatible emulator/virtual machine."
pankso@16361 7 MAINTAINER="pascal.bellard@slitaz.org"
pankso@16361 8 LICENSE="GPL"
pankso@16361 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@16361 10 WEB_SITE="http://cwallpaper.sourceforge.net"
pankso@16361 11 WGET_URL="$SF_MIRROR/cwallpaper/$PACKAGE/cwallpaper-fltk-$VERSION/$TARBALL"
pankso@16361 12 HOST_ARCH="i486 arm"
pankso@16361 13
pankso@16361 14 SUGGESTED="hsetroot feh"
pankso@16361 15 DEPENDS="fltk"
pankso@16361 16 BUILD_DEPENDS="fltk-dev"
pankso@16361 17
pankso@16361 18 # Rules to configure and make the package.
pankso@16361 19 compile_rules()
pankso@16361 20 {
pankso@16361 21 sed -i s"#g++#${HOST_SYSTEM}-g++#" Makefile || return 1
pankso@16361 22 make && mkdir -p ${DESTDIR}/usr/bin/ &&
pankso@16361 23 make DESTDIR=${DESTDIR} install
pankso@16361 24 }
pankso@16361 25
pankso@16361 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@16361 27 genpkg_rules()
pankso@16361 28 {
pankso@16361 29 mkdir -p $fs/usr/share/cwallpaper
pankso@16361 30 cp -a $install/usr/bin $fs/usr
pankso@16361 31 cp $install/usr/share/cwallpaper/example_config \
pankso@16361 32 $fs/usr/share/cwallpaper
pankso@16361 33 }