wok-next annotate libsdl2-net/receipt @ rev 20295
Attempt to fix warzone2100; add feathernotes, featherpad, kvantum, libqscintilla-qt5, plataro
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Nov 08 21:51:43 2017 +0200 (2017-11-08) |
parents | 22e3b60d4248 |
children | c4e53a39395a |
rev | line source |
---|---|
al@20235 | 1 # SliTaz package receipt v2. |
tcg@17136 | 2 |
tcg@17136 | 3 PACKAGE="libsdl2-net" |
al@20235 | 4 VERSION="2.0.1" |
al@20235 | 5 CATEGORY="network" |
al@20235 | 6 SHORT_DESC="SDL2 net support" |
tcg@17136 | 7 MAINTAINER="tcg.thegamer@gmail.com" |
tcg@17136 | 8 LICENSE="LGPL2.1" |
tcg@17136 | 9 WEB_SITE="http://www.libsdl.org/projects/SDL_net/" |
tcg@17136 | 10 HOST_ARCH="i486 arm" |
tcg@17136 | 11 |
al@20235 | 12 TARBALL="SDL2_net-$VERSION.tar.gz" |
al@20235 | 13 WGET_URL="http://www.libsdl.org/projects/SDL_net/release/$TARBALL" |
al@20235 | 14 |
tcg@17136 | 15 BUILD_DEPENDS="libsdl2-dev" |
al@20235 | 16 SPLIT="libsdl2-net-dev" |
tcg@17136 | 17 |
al@20235 | 18 compile_rules() { |
tcg@17136 | 19 ./configure $CONFIGURE_ARGS && make && make install |
tcg@17136 | 20 } |
tcg@17136 | 21 |
al@20235 | 22 genpkg_rules() { |
al@20235 | 23 case $PACKAGE in |
al@20235 | 24 libsdl2-net) |
al@20235 | 25 copy @std |
al@20235 | 26 DEPENDS="libsdl2 tslib" |
al@20235 | 27 ;; |
al@20235 | 28 *-dev) |
al@20235 | 29 copy @dev |
al@20235 | 30 DEPENDS="libsdl2-net libsdl2-dev tslib-dev" |
al@20235 | 31 ;; |
al@20235 | 32 esac |
tcg@17136 | 33 } |