# SliTaz package receipt.

PACKAGE="unshield"
VERSION="0.5"
CATEGORY="utilities"
SHORT_DESC="Extract files from InstallShield CAB archive."
MAINTAINER="erjo@slitaz.org"
DEPENDS="zlib"
BUILD_DEPENDS="zlib-dev mysql-dev"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://kent.dl.sourceforge.net/sourceforge/synce/"
WGET_URL="http://kent.dl.sourceforge.net/sourceforge/synce/$TARBALL"
TAGS="windows exe cab"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure --prefix=/usr --infodir=/usr/share/info \
	--mandir=/usr/share/man $CONFIGURE_ARGS &&
	make &&
	make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr/lib
	cp -a $_pkg/usr/bin $fs/usr
	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
}