wok-next view cwallpaper-fltk/receipt @ rev 20882
Check Repology info from a* to g* packages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jul 10 20:08:05 2018 +0300 (2018-07-10) |
parents | c4e53a39395a |
children | d5aab818505e |
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 WEB_SITE="http://cwallpaper.sourceforge.net"
10 REPOLOGY="cwallpaper"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/cwallpaper/$PACKAGE/cwallpaper-fltk-$VERSION/$TARBALL"
15 SUGGESTED="hsetroot feh"
16 DEPENDS="fltk"
17 BUILD_DEPENDS="fltk-dev xorg-libX11-dev xorg-libXinerama-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 sed -i s"#g++#${HOST_SYSTEM}-g++#" Makefile || return 1
23 make && mkdir -p ${DESTDIR}/usr/bin/ &&
24 make DESTDIR=${DESTDIR} install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/cwallpaper
31 cp -a $install/usr/bin $fs/usr
32 cp $install/usr/share/cwallpaper/example_config \
33 $fs/usr/share/cwallpaper
34 }