# SliTaz package receipt. PACKAGE="ptlib" VERSION="2.6.5" CATEGORY="network" SHORT_DESC="Portable Tools Library for unix and windows." MAINTAINER="pascal.bellard@slitaz.org" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://www.ekiga.org/" WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" DEPENDS="alsa-lib cyrus-sasl expat libsdl libdv libraw1394 \ libunixODBC openssl" BUILD_DEPENDS="pkg-config flex openssl-dev cyrus-sasl-dev zlib-dev alsa-lib-dev" # Rules to configure and make the package. compile_rules() { cd $src ./configure --prefix=/usr --bindir=/bin \ --libexecdir=/usr/bin --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 cp -a $_pkg/usr/lib $fs/usr cp -a $_pkg/usr/bin $fs/usr cp -a $_pkg/usr/share $fs/usr }