wok-stable annotate hubbub/receipt @ rev 8114
Fix: lzma wrapper in xz package should now display usage correctly
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Jan 23 22:57:43 2011 +0100 (2011-01-23) |
parents | b537813316cf |
children | bc238c62a0b3 |
rev | line source |
---|---|
pankso@2825 | 1 # SliTaz package receipt. |
pankso@2825 | 2 |
pankso@2825 | 3 PACKAGE="hubbub" |
pankso@4167 | 4 VERSION="8960" |
pankso@2825 | 5 CATEGORY="system-tools" |
pankso@2825 | 6 SHORT_DESC="Hubbub is a flexible HTML parser." |
pankso@2825 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@2825 | 8 DEPENDS="libparserutils" |
pankso@2825 | 9 BUILD_DEPENDS="subversion libparserutils-dev" |
pankso@2825 | 10 WEB_SITE="http://www.netsurf-browser.org/projects/hubbub/" |
pankso@2825 | 11 |
pankso@2825 | 12 # Rules to configure and make the package. |
pankso@2825 | 13 compile_rules() |
pankso@2825 | 14 { |
pankso@2825 | 15 [ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION |
pascal@5561 | 16 TARBALL=$SOURCES_REPOSITORY/$PACKAGE-svn-$VERSION.tar.gz |
pascal@5561 | 17 if [ -f $TARBALL ]; then |
pascal@5561 | 18 tar xzf $TARBALL |
pascal@5561 | 19 else |
pascal@5561 | 20 svn co svn://svn.netsurf-browser.org/trunk/hubbub \ |
pascal@5563 | 21 -r $VERSION $PACKAGE-$VERSION && |
pascal@5561 | 22 tar czf $TARBALL $PACKAGE-$VERSION |
pascal@5561 | 23 fi |
pankso@2825 | 24 cd $src |
pankso@2825 | 25 make install DESTDIR=$PWD/_pkg PREFIX=/usr && |
pankso@4167 | 26 make install COMPONENT_TYPE=lib-shared DESTDIR=$PWD/_pkg PREFIX=/usr |
pankso@2825 | 27 } |
pankso@2825 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2825 | 29 genpkg_rules() |
pankso@2825 | 30 { |
pankso@2825 | 31 mkdir -p $fs/usr/lib |
pankso@2825 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@2825 | 33 } |