wok-6.x annotate xchm/receipt @ rev 12057
cleaning up receipts that have unnecessary cp operations
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Wed Mar 07 21:27:37 2012 -0800 (2012-03-07) |
parents | 7978be568da0 |
children | 380ffe05937a |
rev | line source |
---|---|
erjo@1306 | 1 # SliTaz package receipt. |
erjo@1306 | 2 |
erjo@1306 | 3 PACKAGE="xchm" |
slaxemulator@10190 | 4 VERSION="1.19" |
erjo@1306 | 5 CATEGORY="utilities" |
erjo@1306 | 6 SHORT_DESC="Cross-platform GUI for chmlib" |
erjo@1306 | 7 MAINTAINER="allan316@gmail.com" |
erjo@1306 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@1306 | 9 WEB_SITE="http://xchm.sourceforge.net" |
slaxemulator@10190 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
erjo@1306 | 11 |
pascal@10457 | 12 DEPENDS="wxWidgets chmlib xorg-libXdamage xorg-libXxf86vm" |
pascal@10457 | 13 BUILD_DEPENDS="wxWidgets wxWidgets-dev chmlib chmlib-dev" |
pascal@10457 | 14 |
erjo@1306 | 15 # Rules to configure and make the package. |
erjo@1306 | 16 compile_rules() |
erjo@1306 | 17 { |
erjo@1306 | 18 cd $src |
slaxemulator@10190 | 19 ./configure $CONFIGURE_ARGS && |
slaxemulator@10190 | 20 make && make install |
erjo@1306 | 21 } |
erjo@1306 | 22 |
erjo@1306 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1306 | 24 genpkg_rules() |
erjo@1306 | 25 { |
samuel_trassare@12057 | 26 mkdir -p $fs/usr/share/locale |
erjo@1306 | 27 cp -a $_pkg/usr/bin $fs/usr |
erjo@1306 | 28 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
erjo@1306 | 29 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
erjo@1306 | 30 } |
erjo@1306 | 31 |