wok annotate retawq/receipt @ rev 10031

glibc: make it cross compilable
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 20 02:51:43 2011 +0200 (2011-05-20)
parents eb7f93d231d6
children 5f1254dc8217
rev   line source
pankso@8 1 # SliTaz package receipt.
pankso@8 2
pankso@8 3 PACKAGE="retawq"
pankso@8 4 VERSION="0.2.6c"
pankso@203 5 CATEGORY="network"
pankso@8 6 SHORT_DESC="Text mode Web browser."
pankso@8 7 MAINTAINER="pankso@slitaz.org"
pankso@8 8 DEPENDS="ncurses"
pankso@890 9 BUILD_DEPENDS="ncurses-dev"
pankso@8 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@8 11 WEB_SITE="http://retawq.sourceforge.net/"
pankso@8 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
jozee@4972 13 TAGS="browser"
pankso@8 14
pankso@8 15 # Rules to configure and make the package.
pankso@8 16 compile_rules()
pankso@8 17 {
pankso@890 18 cd $src
pankso@890 19 ./configure \
pankso@890 20 --enable-i18n \
pankso@890 21 --enable-local-cgi \
pankso@890 22 --path-prefix=/usr \
pankso@890 23 --path-doc=/usr/share/doc/retawq \
pankso@890 24 --path-man=/usr/share/man
pankso@890 25 make
pankso@8 26 }
pankso@8 27
pankso@8 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@8 29 genpkg_rules()
pankso@8 30 {
pankso@890 31 mkdir -p \
pankso@890 32 $fs/etc $fs/usr/bin \
pankso@890 33 $fs/usr/share/locale/fr/LC_MESSAGES
pankso@890 34 cp -a $src/retawq $fs/usr/bin
pankso@890 35 cp -a $src/i18n/fr.mo $fs/usr/share/locale/fr/LC_MESSAGES/retawq.mo
pankso@890 36 cp -a stuff/skel $fs/etc
pankso@8 37 }