wok-6.x annotate cwallpaper-fltk/receipt @ rev 18965
podofo: set FREETYPE_INCLUDE_DIR
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 10 19:10:25 2016 +0100 (2016-03-10) |
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 } |