Diff libvterm-0.3.2 with a libvterm-0.3.2-r1
| /usr/portage/dev-libs/libvterm/libvterm-0.3.2-r1.ebuild 2023-10-09 14:52:29.532368351 +0300 | ||
|---|---|---|
| 1 | 
    # Copyright 1999-2024 Gentoo Authors  | 
  |
| 1 | 
    # Copyright 1999-2023 Gentoo Authors  | 
  |
| 2 | 2 | 
    # Distributed under the terms of the GNU General Public License v2  | 
  
| 3 | 3 | |
| 4 | 4 | 
    EAPI=8  | 
  
| 5 | 5 | |
| 6 | 
    inherit toolchain-funcs  | 
  |
| 6 | 
    inherit autotools  | 
  |
| 7 | 7 | |
| 8 | 8 | 
    DESCRIPTION="An abstract library implementation of a VT220/xterm/ECMA-48 terminal emulator"  | 
  
| 9 | 9 | 
    HOMEPAGE="https://www.leonerd.org.uk/code/libvterm/"  | 
  
| ... | ... | |
| 15 | 15 | |
| 16 | 16 | 
    BDEPEND="  | 
  
| 17 | 17 | 
    dev-lang/perl  | 
  
| 18 | 
    dev-build/libtool  | 
  |
| 18 | 
    virtual/pkgconfig  | 
  |
| 19 | 19 | 
    "  | 
  
| 20 | 20 | |
| 21 | 
    src_compile() {
   | 
  |
| 22 | 
    MYMAKEARGS=(  | 
  |
| 23 | 
    VERBOSE=1  | 
  |
| 24 | 
    		PREFIX="${EPREFIX}"/usr
   | 
  |
| 25 | 
    		LIBDIR="${EPREFIX}/usr/$(get_libdir)"
   | 
  |
| 26 | ||
| 27 | 
    CC="$(tc-getCC)"  | 
  |
| 28 | 
    )  | 
  |
| 21 | 
    PATCHES=(  | 
  |
| 22 | 
    	"${FILESDIR}"/${PN}-0.3.2-slibtool.patch # 779034
   | 
  |
| 23 | 
    )  | 
  |
| 24 | ||
| 25 | 
    src_prepare() {
   | 
  |
| 26 | 
    default  | 
  |
| 27 | 
    eautoreconf  | 
  |
| 28 | 
    }  | 
  |
| 29 | 29 | |
| 30 | 
    	emake "${MYMAKEARGS[@]}"
   | 
  |
| 30 | 
    src_compile() {
   | 
  |
| 31 | 
    emake VERBOSE=1  | 
  |
| 31 | 32 | 
    }  | 
  
| 32 | 33 | |
| 33 | 34 | 
    src_test() {
   | 
  
| 34 | 
    	emake "${MYMAKEARGS[@]}" test
   | 
  |
| 35 | 
    emake VERBOSE=1 test  | 
  |
| 35 | 36 | 
    }  | 
  
| 36 | 37 | |
| 37 | 38 | 
    src_install() {
   | 
  
| 38 | 
    	emake "${MYMAKEARGS[@]}" DESTDIR="${D}" install
   | 
  |
| 39 | 
    	emake VERBOSE=1 DESTDIR="${D}" install
   | 
  |
| 39 | 40 | |
| 40 | 41 | 
    	find "${ED}" -name '*.la' -delete || die "Failed to prune libtool files"
   | 
  
| 41 | 42 | 
    	find "${ED}" -name '*.a' -delete || die
   |