wok-next annotate fswebcam/receipt @ rev 16187
gtk+: fix tarball name
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 30 19:03:27 2014 +0200 (2014-03-30) |
parents | d1768332cee0 |
children | 1c12e3f2a6a0 |
rev | line source |
---|---|
jozee@4607 | 1 # SliTaz package receipt. |
jozee@4607 | 2 |
jozee@4607 | 3 PACKAGE="fswebcam" |
jozee@4607 | 4 VERSION="20070108" |
jozee@4607 | 5 CATEGORY="misc" |
jozee@4607 | 6 MAINTAINER="jozee@slitaz.org" |
pascal@15588 | 7 LICENSE="GPL2" |
jozee@4607 | 8 SHORT_DESC="Tiny and flexible webcam app" |
jozee@4607 | 9 WEB_SITE="http://www.firestorm.cx/fswebcam/" |
jozee@4607 | 10 CONFIG_FILES="etc/fswebcam.conf" |
jozee@4607 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@4607 | 12 WGET_URL="$WEB_SITE/files/$TARBALL" |
jozee@4607 | 13 TAGS="webcam" |
jozee@4607 | 14 |
pascal@15588 | 15 DEPENDS="libgd" |
pascal@15588 | 16 BUILD_DEPENDS="$DEPENDS libgd-dev" |
pascal@15588 | 17 |
jozee@4607 | 18 # Rules to configure and make the package. |
jozee@4607 | 19 |
jozee@4607 | 20 compile_rules() { |
jozee@4607 | 21 cd $src |
jozee@4607 | 22 while read file; do |
jozee@4607 | 23 [ -f done.$file ] && continue |
jozee@4607 | 24 echo "Apply $file..." |
slaxemulator@9700 | 25 patch -p1 < $stuff/$PACKAGE-$VERSION-$file || return 1 |
jozee@4607 | 26 touch done.$file |
jozee@4607 | 27 done <<EOT |
jozee@4607 | 28 gzip.patch |
jozee@4607 | 29 EOT |
jozee@4607 | 30 ./configure --prefix=/usr && |
jozee@4607 | 31 make && |
pascal@15588 | 32 make DESTDIR=$DESTDIR install |
jozee@4607 | 33 } |
jozee@4607 | 34 |
jozee@4607 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@4607 | 36 genpkg_rules() |
jozee@4607 | 37 { |
jozee@4607 | 38 mkdir -p $fs/etc $fs/usr |
jozee@4607 | 39 cp -a stuff/fswebcam.conf $fs/etc/fswebcam.conf |
pascal@15588 | 40 cp -a $install/usr/bin $fs/usr |
jozee@4607 | 41 } |