wok annotate fswebcam/receipt @ rev 18564
Up tazpkg-test(855)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Nov 09 04:55:34 2015 +0200 (2015-11-09) |
parents | 1c12e3f2a6a0 |
children | 432dd31a79d5 |
rev | line source |
---|---|
jozee@4607 | 1 # SliTaz package receipt. |
jozee@4607 | 2 |
jozee@4607 | 3 PACKAGE="fswebcam" |
pankso@16469 | 4 VERSION="20140113" |
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" |
pankso@16469 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
jozee@4607 | 12 WGET_URL="$WEB_SITE/files/$TARBALL" |
jozee@4607 | 13 TAGS="webcam" |
pankso@16495 | 14 HOST_ARCH="i486" |
jozee@4607 | 15 |
pascal@15588 | 16 DEPENDS="libgd" |
pankso@16469 | 17 BUILD_DEPENDS="libgd-dev" |
pascal@15588 | 18 |
jozee@4607 | 19 # Rules to configure and make the package. |
pankso@16469 | 20 compile_rules() |
pankso@16469 | 21 { |
pankso@16469 | 22 ./configure \ |
pankso@16469 | 23 --prefix=/usr $CONFIGURE_ARGS && |
pankso@16469 | 24 make && make install |
jozee@4607 | 25 } |
jozee@4607 | 26 |
jozee@4607 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@4607 | 28 genpkg_rules() |
jozee@4607 | 29 { |
jozee@4607 | 30 mkdir -p $fs/etc $fs/usr |
jozee@4607 | 31 cp -a stuff/fswebcam.conf $fs/etc/fswebcam.conf |
pascal@15588 | 32 cp -a $install/usr/bin $fs/usr |
jozee@4607 | 33 } |