wok view ctypes.sh/receipt @ rev 24309

created recipes for anthy, anthy-dev, scim-anthy and scim-anthy-lang
author Hans-G?nter Theisgen
date Wed Jan 19 08:06:16 2022 +0100 (2022-01-19)
parents 3284e9c4ccb9
children 095836df71b7
line source
1 # SliTaz package receipt.
3 PACKAGE="ctypes.sh"
4 VERSION="1.2"
5 CATEGORY="development"
6 TAGS="bash ffi"
7 SHORT_DESC="Foreign function interface for bash."
8 MAINTAINER="maintainer@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://github.com/taviso/ctypes.sh"
12 TARBALL="${PACKAGE/./-}-$VERSION.tar.gz"
13 WGET_URL="https://github.com/taviso/$PACKAGE/releases/download/v$VERSION/$TARBALL"
15 DEPENDS="bash libffi"
16 BUILD_DEPENDS="libffi-dev libtool"
18 HOST_ARCH="i486 arm"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./configure \
24 --prefix=/usr \
25 $CONFIGURE_ARGS &&
26 make &&
27 make install DESTDIR=$DESTDIR
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cook_copy_folders bin
34 cook_copy_folders lib
35 }
37 testsuite()
38 {
39 readelf -h $install/usr/lib/ctypes.so
40 }