wok-next diff cwallpaper-fltk/receipt @ rev 19722
Up net-snmp (5.7.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 24 18:42:05 2017 +0200 (2017-05-24) |
parents | |
children | 2985612f2b3f |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/cwallpaper-fltk/receipt Wed May 24 18:42:05 2017 +0200 1.3 @@ -0,0 +1,33 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="cwallpaper-fltk" 1.7 +VERSION="0.4.2" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="PC XT-compatible emulator/virtual machine." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="GPL" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://cwallpaper.sourceforge.net" 1.14 +WGET_URL="$SF_MIRROR/cwallpaper/$PACKAGE/cwallpaper-fltk-$VERSION/$TARBALL" 1.15 +HOST_ARCH="i486 arm" 1.16 + 1.17 +SUGGESTED="hsetroot feh" 1.18 +DEPENDS="fltk" 1.19 +BUILD_DEPENDS="fltk-dev" 1.20 + 1.21 +# Rules to configure and make the package. 1.22 +compile_rules() 1.23 +{ 1.24 + sed -i s"#g++#${HOST_SYSTEM}-g++#" Makefile || return 1 1.25 + make && mkdir -p ${DESTDIR}/usr/bin/ && 1.26 + make DESTDIR=${DESTDIR} install 1.27 +} 1.28 + 1.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 +genpkg_rules() 1.31 +{ 1.32 + mkdir -p $fs/usr/share/cwallpaper 1.33 + cp -a $install/usr/bin $fs/usr 1.34 + cp $install/usr/share/cwallpaper/example_config \ 1.35 + $fs/usr/share/cwallpaper 1.36 +}