You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tde-packaging-gentoo/app-mobilephone/gsmlib/gsmlib-1.11_pre041028.ebuild

38 lines
804 B

# Copyright 1999-2010 Gentoo Foundation
# Copyright 2020 The Trinity Desktop Project
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
inherit eutils
# Don't use Gentoo mirrors
RESTRICT="mirror"
DESCRIPTION="Library and applications to access GSM mobile phones"
SRC_URI="http://www.pxh.de/fs/gsmlib/snapshots/${PN}-pre${PV%_pre*}-${PV#*_pre}.tar.gz"
HOMEPAGE="http://www.pxh.de/fs/gsmlib/"
SLOT="0"
LICENSE="LGPL-2"
KEYWORDS="amd64 ~ia64 ppc ppc64 sparc x86"
RESTRICT="test"
S="${WORKDIR}/${PN}-${PV%_pre*}"
PATCHES=(
"${FILESDIR}/${P%_pre*}-include-gcc34-fix.patch"
"${FILESDIR}/${P%_pre*}-gcc41.patch"
"${FILESDIR}/${P%_pre*}-gcc43.patch"
)
src_unpack() {
unpack ${A}
}
src_install () {
emake DESTDIR="${D}" install || die "make install failed"
dodoc README
}