# SliTaz package receipt. PACKAGE="xchm" VERSION="1.19" CATEGORY="utilities" SHORT_DESC="Cross-platform GUI for chmlib" MAINTAINER="allan316@gmail.com" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://xchm.sourceforge.net" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" DEPENDS="wxWidgets chmlib xorg-libXdamage xorg-libXxf86vm" BUILD_DEPENDS="wxWidgets wxWidgets-dev chmlib chmlib-dev" # Rules to configure and make the package. compile_rules() { cd $src ./configure $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share/locale cp -a $_pkg/usr/bin $fs/usr cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale cp -a $_pkg/usr/share/pixmaps $fs/usr/share }