wok-next annotate smx/receipt @ rev 15320
ibus: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 27 18:48:47 2013 +0000 (2013-09-27) |
parents | |
children | 9ff4123e36f3 |
rev | line source |
---|---|
pascal@13358 | 1 # SliTaz package receipt. |
pascal@13358 | 2 |
pascal@13358 | 3 PACKAGE="smx" |
pascal@13358 | 4 VERSION="1.1.4-454" |
pascal@13358 | 5 CATEGORY="development" |
pascal@13358 | 6 SHORT_DESC="text-embedded macro processing language." |
pascal@13358 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@13358 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13358 | 9 WEB_SITE="http://www.smxlang.org/" |
pascal@13358 | 10 WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL" |
pascal@13358 | 11 |
pascal@13358 | 12 DEPENDS="unixODBC sqlite libgd libcrypto gcc-lib-base zlib" |
pascal@13358 | 13 BUILD_DEPENDS="apache-dev apr-dev apr-util-dev unixODBC-dev \ |
pascal@13358 | 14 sqlite libgd-dev openssl-dev" |
pascal@13358 | 15 |
pascal@13358 | 16 # Rules to configure and make the package. |
pascal@13358 | 17 compile_rules() |
pascal@13358 | 18 { |
pascal@13358 | 19 cd $src |
pascal@13358 | 20 ./configure \ |
pascal@13358 | 21 --prefix=/usr \ |
pascal@13358 | 22 --mandir=/usr/share/man \ |
pascal@13358 | 23 $CONFIGURE_ARGS && |
pascal@13358 | 24 make && |
pascal@13358 | 25 make DESTDIR=$DESTDIR install |
pascal@13358 | 26 } |
pascal@13358 | 27 |
pascal@13358 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13358 | 29 genpkg_rules() |
pascal@13358 | 30 { |
pascal@13358 | 31 mkdir -p $fs/usr/lib |
pascal@13358 | 32 cp -a $install/usr/bin $fs/usr |
pascal@13358 | 33 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@13358 | 34 } |