wok diff xchm/receipt @ rev 2138
Add udns-dev
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 03 16:39:28 2009 +0000 (2009-02-03) |
parents | |
children | 422f5813b998 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/xchm/receipt Tue Feb 03 16:39:28 2009 +0000 1.3 @@ -0,0 +1,36 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="xchm" 1.7 +VERSION="1.14" 1.8 +CATEGORY="utilities" 1.9 +SHORT_DESC="Cross-platform GUI for chmlib" 1.10 +MAINTAINER="allan316@gmail.com" 1.11 +DEPENDS="wxWidgets chmlib" 1.12 +BUILD_DEPENDS="wxWidgets wxWidgets-dev chmlib-dev" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WEB_SITE="http://xchm.sourceforge.net" 1.15 +WGET_URL="http://transact.dl.sourceforge.net/sourceforge/xchm/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + ./configure --prefix=/usr --infodir=/usr/share/info \ 1.22 + --mandir=/usr/share/man $CONFIGURE_ARGS 1.23 + make 1.24 + make DESTDIR=$PWD/_pkg install 1.25 +} 1.26 + 1.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.28 +genpkg_rules() 1.29 +{ 1.30 + mkdir -p $fs/usr/share/locale \ 1.31 + $fs/usr/share/applications \ 1.32 + 1.33 + cp -a $_pkg/usr/bin $fs/usr 1.34 + cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale 1.35 + cp -a $_pkg/usr/share/pixmaps $fs/usr/share 1.36 + 1.37 + cp -a stuff/*.desktop $fs/usr/share/applications 1.38 +} 1.39 +