receipt for libast and libast-dev

[ Thread Index | Date Index | More lists.tuxfamily.org/slitaz Archives ]


Hi ,
below is the receipt for libast and libast-dev , needed for Eterm

LIbast

# SliTaz package receipt.

PACKAGE="libast"
VERSION="0.7"
CATEGORY="misc"
SHORT_DESC="build dependency for eterm"
MAINTAINER="allan316@xxxxxxxxx"
DEPENDS=""
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.eterm.org";
WGET_URL="$WEB_SITE/download/$TARBALL"

# 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/
	
}


************************
and below is libast-dev
*********************

# SliTaz package receipt.

PACKAGE="libast-dev"
VERSION="0.7"
CATEGORY="development"
SHORT_DESC="library for eterm"
MAINTAINER="allan316@xxxxxxxxx"
DEPENDS="libast"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.eterm.org";
#WGET_URL=""
WANTED="libast"
# 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/lib/*.*a  $fs/usr/lib
	cp -a $_pkg/usr/include $fs/usr
	cp -a $_pkg/usr/share $fs/usr
	
}


-- 
Thanx and regd's.

Allan.
http://www.in2dwok.com

---
SliTaz GNU/Linux Mailing list - http://www.slitaz.org/


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/