wok annotate libsdl2/receipt @ rev 22023
Remove cat process
| author | Pascal Bellard <pascal.bellard@slitaz.org> |
|---|---|
| date | Sun Oct 20 12:39:13 2019 +0200 (2019-10-20) |
| parents | 5b063a7e40ae |
| children | 34efa48682ba |
| rev | line source |
|---|---|
| pascal@17104 | 1 # SliTaz package receipt. |
| pascal@17104 | 2 |
| pascal@17104 | 3 PACKAGE="libsdl2" |
| Hans-Günter@21293 | 4 VERSION="2.0.9" |
| pascal@17104 | 5 CATEGORY="x-window" |
| Hans-Günter@21293 | 6 SHORT_DESC="A cross-platform interactive media development library." |
| pascal@17104 | 7 MAINTAINER="tcg.thegamer@gmail.com" |
| pascal@17345 | 8 LICENSE="zlib/libpng" |
| Hans-Günter@21293 | 9 WEB_SITE="http://libsdl.org" |
| Hans-Günter@21293 | 10 |
| pascal@17104 | 11 TARBALL="SDL2-$VERSION.tar.gz" |
| pascal@17104 | 12 WGET_URL="${WEB_SITE}/release/${TARBALL}" |
| pascal@17104 | 13 |
| Hans-Günter@21293 | 14 DEPENDS="alsa-lib dbus mesa" |
| Hans-Günter@21293 | 15 BUILD_DEPENDS="alsa-lib-dev dbus-dev mesa-dev mesa-wayland-dev pulseaudio-dev" |
| pascal@17104 | 16 |
| pascal@17104 | 17 # Rules to configure and make the package. |
| pascal@17104 | 18 compile_rules() |
| pascal@17104 | 19 { |
| Hans-Günter@21293 | 20 ./configure \ |
| Hans-Günter@21293 | 21 --prefix=/usr \ |
| Hans-Günter@21293 | 22 $CONFIGURE_ARGS && |
| Hans-Günter@21293 | 23 make -j 1 && |
| pascal@17104 | 24 make DESTDIR=$DESTDIR install |
| pascal@17104 | 25 } |
| pascal@17104 | 26 |
| pascal@17104 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
| pascal@17104 | 28 genpkg_rules() |
| pascal@17104 | 29 { |
| pascal@17104 | 30 mkdir -p $fs/usr/lib |
| Hans-Günter@21293 | 31 |
| Hans-Günter@21293 | 32 cp -a $install/usr/lib/*so* $fs/usr/lib |
| Hans-Günter@21293 | 33 cp -a $install/usr/bin $fs/usr |
| pascal@17104 | 34 } |