wok annotate unshield/receipt @ rev 10352

bash: make it cross compile!
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 22 22:38:05 2011 +0200 (2011-05-22)
parents 52dc4b48ed81
children 23c3aed67cd9
rev   line source
erjo@755 1 # SliTaz package receipt.
erjo@755 2
erjo@755 3 PACKAGE="unshield"
erjo@755 4 VERSION="0.5"
erjo@755 5 CATEGORY="utilities"
pankso@783 6 SHORT_DESC="Extract files from InstallShield CAB archive."
erjo@784 7 MAINTAINER="erjo@slitaz.org"
pascal@1511 8 DEPENDS="zlib"
pascal@1514 9 BUILD_DEPENDS="zlib-dev mysql-dev"
erjo@755 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
erjo@755 11 WEB_SITE="http://kent.dl.sourceforge.net/sourceforge/synce/"
erjo@755 12 WGET_URL="http://kent.dl.sourceforge.net/sourceforge/synce/$TARBALL"
jozee@4974 13 TAGS="windows exe cab"
erjo@755 14
erjo@755 15 # Rules to configure and make the package.
erjo@755 16 compile_rules()
erjo@755 17 {
erjo@755 18 cd $src
erjo@755 19 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@1511 20 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@1511 21 make &&
erjo@755 22 make DESTDIR=$PWD/_pkg install
erjo@755 23 }
erjo@755 24
erjo@755 25 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@755 26 genpkg_rules()
erjo@755 27 {
erjo@755 28 mkdir -p $fs/usr/lib
erjo@755 29 cp -a $_pkg/usr/bin $fs/usr
erjo@755 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
erjo@755 31 }
erjo@755 32