distribution/packages/graphics/soil/package.mk

21 lines
611 B
Makefile
Raw Normal View History

2022-02-05 14:23:32 +00:00
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
PKG_NAME="soil"
PKG_VERSION="1.16"
PKG_SHA256="5f2d8a8c78e81d29df07f0f97c34fa2f75187bcadfdc7222cbd026859acaff2f"
PKG_LICENSE="CCPL"
PKG_SITE="http://www.lonesock.net/soil.html"
2023-02-27 02:56:16 +00:00
PKG_URL="${DISTRO}_SRC/${PKG_NAME}-${PKG_VERSION}.tar.xz"
2022-02-05 14:23:32 +00:00
PKG_DEPENDS_TARGET="toolchain mesa"
PKG_LONGDESC="A tiny C lib primarily for loading textures into OpenGL"
PKG_BUILD_FLAGS="+pic"
pre_make_target() {
2023-02-24 13:53:43 +00:00
sed "s/1.07-20071110/${PKG_VERSION}/" -i Makefile
2022-02-05 14:23:32 +00:00
}
pre_makeinstall_target() {
2023-02-24 13:53:43 +00:00
export DESTDIR=${SYSROOT_PREFIX}
2022-02-05 14:23:32 +00:00
}