wok annotate lha/receipt @ rev 9098
emacs-pkg-lua-mode: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 04 22:10:40 2011 +0100 (2011-03-04) |
parents | |
children | 6c3718ca17b6 |
rev | line source |
---|---|
pascal@2645 | 1 # SliTaz package receipt. |
pascal@2645 | 2 |
pascal@2645 | 3 PACKAGE="lha" |
pascal@2645 | 4 VERSION="1.14i-ac20050924p1" |
pascal@2645 | 5 CATEGORY="system-tools" |
pascal@2645 | 6 SHORT_DESC="File archiver." |
pascal@2645 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@2645 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@2645 | 9 WEB_SITE="http://$PACKAGE.sourceforge.jp/" |
pascal@2645 | 10 WGET_URL="http://osdn.dl.sourceforge.jp/$PACKAGE/22231/$TARBALL" |
pascal@2645 | 11 |
pascal@2645 | 12 # Rules to configure and make the package. |
pascal@2645 | 13 compile_rules() |
pascal@2645 | 14 { |
pascal@2645 | 15 cd $src |
pascal@2645 | 16 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@2645 | 17 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@2645 | 18 make && |
pascal@2645 | 19 make DESTDIR=$PWD/_pkg install |
pascal@2645 | 20 } |
pascal@2645 | 21 |
pascal@2645 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2645 | 23 genpkg_rules() |
pascal@2645 | 24 { |
pascal@2645 | 25 mkdir -p $fs/usr |
pascal@2645 | 26 cp -a $_pkg/usr/bin $fs/usr |
pascal@2645 | 27 } |
pascal@2645 | 28 |