Import libtxc_dxtn-1.0.1 as wip/libtxc_dxtn.

Software library for S3 texture compression.

XXX The MESA libraries need to be able to find libtxc_dxtn.so
XXX in order for this to work. The INSTALL and DEINSTALL scripts
XXX handle this, but is this the correct solution?
This commit is contained in:
Yorick Hardy 2015-08-10 22:27:47 +00:00 committed by Thomas Klausner
parent 459c6b6ce5
commit a35ac0fe6c
6 changed files with 41 additions and 0 deletions

1
libtxc_dxtn/DESCR Normal file
View file

@ -0,0 +1 @@
Software library for S3 texture compression.

26
libtxc_dxtn/Makefile Normal file
View file

@ -0,0 +1,26 @@
# $NetBSD: Makefile,v 1.1 2015/08/10 22:27:47 yhardy Exp $
#
DISTNAME= libtxc_dxtn-1.0.1
CATEGORIES= devel
MASTER_SITES= http://people.freedesktop.org/~cbrill/libtxc_dxtn/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://people.freedesktop.org/~cbrill/libtxc_dxtn/
COMMENT= S3 texture compression support for MesaLib
LICENSE= mit
RESTRICTED= Need a valid license for s3tc
NO_BIN_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_SRC_ON_FTP= ${RESTRICTED}
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
INSTALL_TEMPLATES= ${FILESDIR}/INSTALL
DEINSTALL_TEMPLATES= ${FILESDIR}/DEINSTALL
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

3
libtxc_dxtn/PLIST Normal file
View file

@ -0,0 +1,3 @@
@comment $NetBSD: PLIST,v 1.1 2015/08/10 22:27:47 yhardy Exp $
include/txc_dxtn.h
lib/libtxc_dxtn.la

5
libtxc_dxtn/distinfo Normal file
View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1 2015/08/10 22:27:47 yhardy Exp $
SHA1 (libtxc_dxtn-1.0.1.tar.gz) = 29f2922399c9ebfb4718366295038b7d8aab191c
RMD160 (libtxc_dxtn-1.0.1.tar.gz) = c00664c4278133bcc301e38e9612289e02a6114d
Size (libtxc_dxtn-1.0.1.tar.gz) = 281484 bytes

View file

@ -0,0 +1,3 @@
if [ ${STAGE} = DEINSTALL -a ${X11BASE} != ${PREFIX} ]; then
${RM} ${X11BASE}/lib/libtxc_dxtn.so
fi

View file

@ -0,0 +1,3 @@
if [ ${STAGE} = POST-INSTALL -a ${X11BASE} != ${PREFIX} ]; then
${LN} -s ${PREFIX}/lib/libtxc_dxtn.so ${X11BASE}/lib/libtxc_dxtn.so
fi