wok-next annotate liblo/receipt @ rev 9069
squirrelmail-smallcal: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 04 14:43:55 2011 +0100 (2011-03-04) |
parents | |
children | b7319995b37e |
rev | line source |
---|---|
jozee@6825 | 1 # SliTaz package receipt. |
jozee@6825 | 2 |
jozee@6825 | 3 PACKAGE="liblo" |
jozee@6825 | 4 VERSION="0.26" |
jozee@6825 | 5 CATEGORY="multimedia" |
jozee@6825 | 6 MAINTAINER="jozee@slitaz.org" |
jozee@6825 | 7 SHORT_DESC="Lightweight OSC implementation: an implementation of the Open Sound Control protocol for POSIX systems" |
jozee@6825 | 8 BUILD_DEPENDS="" |
jozee@6825 | 9 WEB_SITE="http://plugin.org.uk/liblo/" |
jozee@6825 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@6825 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
jozee@6825 | 12 |
jozee@6825 | 13 |
jozee@6825 | 14 # Rules to configure and make the package. |
jozee@6825 | 15 |
jozee@6825 | 16 compile_rules() { |
jozee@6825 | 17 cd $src |
jozee@6825 | 18 ./configure --prefix=/usr && |
jozee@6825 | 19 make && |
jozee@6825 | 20 make DESTDIR=$PWD/_pkg install |
jozee@6825 | 21 } |
jozee@6825 | 22 |
jozee@6825 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@6825 | 24 genpkg_rules() |
jozee@6825 | 25 { |
jozee@6825 | 26 mkdir -p $fs/usr/lib |
jozee@6825 | 27 cp -a $_pkg/usr/bin $fs/usr |
jozee@6825 | 28 cp -a $_pkg/usr/lib/*so* $fs/usr/lib/ |
jozee@6825 | 29 |
jozee@6825 | 30 } |