wok-6.x annotate automake/receipt @ rev 3222
Add: Chinese font and linuxqq
author | Chen Yufei <tsjz@ymail.com> |
---|---|
date | Fri May 29 11:52:33 2009 +0800 (2009-05-29) |
parents | 714a56b6478f |
children | 2bbd4f919f94 |
rev | line source |
---|---|
pankso@15 | 1 # SliTaz package receipt. |
pankso@15 | 2 |
pankso@15 | 3 PACKAGE="automake" |
pankso@3187 | 4 VERSION="1.11" |
pankso@200 | 5 CATEGORY="development" |
pankso@15 | 6 SHORT_DESC="Tool for automatically generating 'Makefile.in'." |
pankso@15 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@15 | 8 DEPENDS="perl" |
pankso@108 | 9 BUILD_DEPENDS="autoconf" |
pankso@15 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@15 | 11 WEB_SITE="http://www.gnu.org/software/automake/" |
pankso@15 | 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@15 | 13 |
pankso@15 | 14 # Rules to configure and make the package. |
pankso@15 | 15 compile_rules() |
pankso@15 | 16 { |
pankso@15 | 17 cd $src |
pankso@729 | 18 ./configure \ |
pankso@729 | 19 --prefix=/usr \ |
pankso@729 | 20 --infodir=/usr/share/info \ |
pankso@729 | 21 --mandir=/usr/share/man \ |
pankso@729 | 22 $CONFIGURE_ARGS |
pankso@15 | 23 make |
pankso@15 | 24 make DESTDIR=$PWD/_pkg install |
pankso@15 | 25 } |
pankso@15 | 26 |
pankso@15 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@15 | 28 genpkg_rules() |
pankso@15 | 29 { |
pankso@15 | 30 mkdir -p $fs/usr/share |
pankso@15 | 31 cp -a $_pkg/usr/bin $fs/usr |
pankso@3187 | 32 cp -a $_pkg/usr/share/aclocal-1.11 $fs/usr/share |
pankso@3187 | 33 cp -a $_pkg/usr/share/automake-1.11 $fs/usr/share |
pankso@15 | 34 } |
pankso@729 | 35 |
pankso@729 | 36 # Clean old files. |
pankso@729 | 37 pre_install() |
pankso@729 | 38 { |
pankso@729 | 39 rm -rf /usr/share/automake-1.9 |
pankso@3187 | 40 rm -rf /usr/share/aclocal-1.9 |
pankso@3187 | 41 rm -rf /usr/share/automake-1.10 |
pankso@3187 | 42 rm -rf /usr/share/aclocal-1.10 |
pankso@729 | 43 } |