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