wok-current annotate libedit/receipt @ rev 5362
improve vlc : libvlc, libvlc-dev are not optional deps
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Wed Apr 28 21:41:43 2010 +0000 (2010-04-28) |
parents | 03a799424aaa |
children | a0629adf72c8 |
rev | line source |
---|---|
domcox@1356 | 1 # SliTaz package receipt. |
domcox@1356 | 2 |
domcox@1356 | 3 PACKAGE="libedit" |
domcox@5317 | 4 VERSION="3.0" |
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@5317 | 9 SOURCE="libedit-20090923" |
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 |