wok-current annotate iksemel/receipt @ rev 15158
gmerlin: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 15 17:45:49 2013 +0000 (2013-08-15) |
parents | 8f3422e1b2d2 |
children | 8ed62ecac0c7 |
rev | line source |
---|---|
pascal@1177 | 1 # SliTaz package receipt. |
pascal@1177 | 2 |
pascal@1177 | 3 PACKAGE="iksemel" |
pascal@1177 | 4 VERSION="1.2" |
pascal@1177 | 5 CATEGORY="network" |
pascal@1177 | 6 SHORT_DESC="XML parser library for Jabber applications." |
pascal@1177 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1177 | 8 WEB_SITE="http://iksemel.jabberstudio.org/" |
pascal@2481 | 9 DEPENDS="gnutls libgcrypt libgpg-error zlib" |
pascal@1177 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1177 | 11 WGET_URL="http://jabberstudio.rediris.es/$PACKAGE/$TARBALL" |
pascal@1177 | 12 |
pascal@1177 | 13 # Rules to configure and make the package. |
pascal@1177 | 14 compile_rules() |
pascal@1177 | 15 { |
pascal@1177 | 16 cd $src |
pascal@1177 | 17 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@2481 | 18 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@2481 | 19 make && |
pascal@1177 | 20 make DESTDIR=$PWD/_pkg install |
pascal@1177 | 21 } |
pascal@1177 | 22 |
pascal@1177 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1177 | 24 genpkg_rules() |
pascal@1177 | 25 { |
pascal@1177 | 26 mkdir -p $fs/usr/lib |
pascal@1177 | 27 cp -a $_pkg/usr/bin $fs/usr |
pascal@1177 | 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@1177 | 29 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib |
pascal@1177 | 30 } |
pascal@1177 | 31 |