wok-4.x annotate libedit/receipt @ rev 3300
Up: transmission* (1.70)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri Jun 05 23:51:50 2009 +0200 (2009-06-05) |
parents | d5be027602dd |
children | 33155c265a10 |
rev | line source |
---|---|
domcox@1356 | 1 # SliTaz package receipt. |
domcox@1356 | 2 |
domcox@1356 | 3 PACKAGE="libedit" |
domcox@1356 | 4 VERSION="2.11" |
pascal@1423 | 5 CATEGORY="misc" |
domcox@1356 | 6 SHORT_DESC="Berkeley-style licensed command line editor library" |
domcox@1356 | 7 MAINTAINER="domcox@users.sourceforge.net" |
domcox@1356 | 8 DEPENDS="" |
domcox@1356 | 9 SOURCE="libedit-20080712" |
domcox@1356 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
domcox@1356 | 11 WEB_SITE="http://www.thrysoee.dk/editline/" |
domcox@1356 | 12 WGET_URL="http://www.thrysoee.dk/editline/$TARBALL" |
domcox@1356 | 13 |
domcox@1356 | 14 # Rules to configure and make the package. |
domcox@1356 | 15 compile_rules() |
domcox@1356 | 16 { |
domcox@1356 | 17 cd $src |
domcox@1356 | 18 ./configure \ |
domcox@1356 | 19 --prefix=/usr \ |
domcox@1356 | 20 --mandir=/usr/share/man \ |
domcox@1356 | 21 $CONFIGURE_ARGS \ |
domcox@1356 | 22 && make |
domcox@1356 | 23 make DESTDIR=$PWD/_pkg install |
domcox@1356 | 24 } |
domcox@1356 | 25 |
domcox@1356 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@1356 | 27 genpkg_rules() |
domcox@1356 | 28 { |
domcox@1356 | 29 mkdir -p $fs/usr/lib |
domcox@1356 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
domcox@1356 | 31 strip --strip-unneeded $fs/usr/lib/* |
domcox@1356 | 32 } |
domcox@1356 | 33 |