modernc.org/99c@v1.0.1-0.20181109153923-a9e8197063d9/lib/xau/generator_linux.go (about)

     1  // Copyright 2017 The 99c Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  //go:generate wget --no-clobber https://www.x.org/releases/individual/lib/libXau-1.0.8.tar.gz
     6  //go:generate rm -rf libXau-1.0.8/
     7  //go:generate tar xzf libXau-1.0.8.tar.gz
     8  //go:generate sh -c "cd libXau-1.0.8/ && ./configure CC=99c --prefix=$HOME/.99c"
     9  //go:generate make -C libXau-1.0.8/ install
    10  
    11  // Package xau installs a 99c version of libXau on your system.
    12  //
    13  // Run
    14  //
    15  //     $ go generate
    16  //
    17  // to download and install the package on your system. The package will be
    18  // installed in '$HOME/.99c'. Currently supported only on Linux.
    19  package xau // import "modernc.org/99c/lib/xau"