{"action":"opened","number":335,"pull_request":{"url":"https://api.github.com/repos/samtools/htslib/pulls/335","id":58613562,"html_url":"https://github.com/samtools/htslib/pull/335","diff_url":"https://github.com/samtools/htslib/pull/335.diff","patch_url":"https://github.com/samtools/htslib/pull/335.patch","issue_url":"https://api.github.com/repos/samtools/htslib/issues/335","number":335,"state":"open","locked":false,"title":"Add prefix based on libdir in pkg-config","user":{"login":"brainstorm","id":175587,"avatar_url":"https://avatars.githubusercontent.com/u/175587?v=3","gravatar_id":"","url":"https://api.github.com/users/brainstorm","html_url":"https://github.com/brainstorm","followers_url":"https://api.github.com/users/brainstorm/followers","following_url":"https://api.github.com/users/brainstorm/following{/other_user}","gists_url":"https://api.github.com/users/brainstorm/gists{/gist_id}","starred_url":"https://api.github.com/users/brainstorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brainstorm/subscriptions","organizations_url":"https://api.github.com/users/brainstorm/orgs","repos_url":"https://api.github.com/users/brainstorm/repos","events_url":"https://api.github.com/users/brainstorm/events{/privacy}","received_events_url":"https://api.github.com/users/brainstorm/received_events","type":"User","site_admin":false},"body":"For easy referencing from Makefiles, for example:\r\n\r\n```\r\nHTS_LIB=$(pkg-config --prefix htslib)\r\n```\r\n\r\nInstead of going for hardcoded, relative and manually pre-downloaded libraries:\r\n\r\nhttps://github.com/ryanlayer/gqt/blob/master/src/Makefile#L3\r\n\r\n@ryanlayer","created_at":"2016-02-08T14:10:52Z","updated_at":"2016-02-08T14:10:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/samtools/htslib/pulls/335/commits","review_comments_url":"https://api.github.com/repos/samtools/htslib/pulls/335/comments","review_comment_url":"https://api.github.com/repos/samtools/htslib/pulls/comments{/number}","comments_url":"https://api.github.com/repos/samtools/htslib/issues/335/comments","statuses_url":"https://api.github.com/repos/samtools/htslib/statuses/37674c0f79d5539eb4a0ed35f60dc395ec3b232d","head":{"label":"brainstorm:patch-1","ref":"patch-1","sha":"37674c0f79d5539eb4a0ed35f60dc395ec3b232d","user":{"login":"brainstorm","id":175587,"avatar_url":"https://avatars.githubusercontent.com/u/175587?v=3","gravatar_id":"","url":"https://api.github.com/users/brainstorm","html_url":"https://github.com/brainstorm","followers_url":"https://api.github.com/users/brainstorm/followers","following_url":"https://api.github.com/users/brainstorm/following{/other_user}","gists_url":"https://api.github.com/users/brainstorm/gists{/gist_id}","starred_url":"https://api.github.com/users/brainstorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brainstorm/subscriptions","organizations_url":"https://api.github.com/users/brainstorm/orgs","repos_url":"https://api.github.com/users/brainstorm/repos","events_url":"https://api.github.com/users/brainstorm/events{/privacy}","received_events_url":"https://api.github.com/users/brainstorm/received_events","type":"User","site_admin":false},"repo":{"id":51301317,"name":"htslib","full_name":"brainstorm/htslib","owner":{"login":"brainstorm","id":175587,"avatar_url":"https://avatars.githubusercontent.com/u/175587?v=3","gravatar_id":"","url":"https://api.github.com/users/brainstorm","html_url":"https://github.com/brainstorm","followers_url":"https://api.github.com/users/brainstorm/followers","following_url":"https://api.github.com/users/brainstorm/following{/other_user}","gists_url":"https://api.github.com/users/brainstorm/gists{/gist_id}","starred_url":"https://api.github.com/users/brainstorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brainstorm/subscriptions","organizations_url":"https://api.github.com/users/brainstorm/orgs","repos_url":"https://api.github.com/users/brainstorm/repos","events_url":"https://api.github.com/users/brainstorm/events{/privacy}","received_events_url":"https://api.github.com/users/brainstorm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/brainstorm/htslib","description":"C library for high-throughput sequencing data formats","fork":true,"url":"https://api.github.com/repos/brainstorm/htslib","forks_url":"https://api.github.com/repos/brainstorm/htslib/forks","keys_url":"https://api.github.com/repos/brainstorm/htslib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brainstorm/htslib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brainstorm/htslib/teams","hooks_url":"https://api.github.com/repos/brainstorm/htslib/hooks","issue_events_url":"https://api.github.com/repos/brainstorm/htslib/issues/events{/number}","events_url":"https://api.github.com/repos/brainstorm/htslib/events","assignees_url":"https://api.github.com/repos/brainstorm/htslib/assignees{/user}","branches_url":"https://api.github.com/repos/brainstorm/htslib/branches{/branch}","tags_url":"https://api.github.com/repos/brainstorm/htslib/tags","blobs_url":"https://api.github.com/repos/brainstorm/htslib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brainstorm/htslib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brainstorm/htslib/git/refs{/sha}","trees_url":"https://api.github.com/repos/brainstorm/htslib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brainstorm/htslib/statuses/{sha}","languages_url":"https://api.github.com/repos/brainstorm/htslib/languages","stargazers_url":"https://api.github.com/repos/brainstorm/htslib/stargazers","contributors_url":"https://api.github.com/repos/brainstorm/htslib/contributors","subscribers_url":"https://api.github.com/repos/brainstorm/htslib/subscribers","subscription_url":"https://api.github.com/repos/brainstorm/htslib/subscription","commits_url":"https://api.github.com/repos/brainstorm/htslib/commits{/sha}","git_commits_url":"https://api.github.com/repos/brainstorm/htslib/git/commits{/sha}","comments_url":"https://api.github.com/repos/brainstorm/htslib/comments{/number}","issue_comment_url":"https://api.github.com/repos/brainstorm/htslib/issues/comments{/number}","contents_url":"https://api.github.com/repos/brainstorm/htslib/contents/{+path}","compare_url":"https://api.github.com/repos/brainstorm/htslib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brainstorm/htslib/merges","archive_url":"https://api.github.com/repos/brainstorm/htslib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brainstorm/htslib/downloads","issues_url":"https://api.github.com/repos/brainstorm/htslib/issues{/number}","pulls_url":"https://api.github.com/repos/brainstorm/htslib/pulls{/number}","milestones_url":"https://api.github.com/repos/brainstorm/htslib/milestones{/number}","notifications_url":"https://api.github.com/repos/brainstorm/htslib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brainstorm/htslib/labels{/name}","releases_url":"https://api.github.com/repos/brainstorm/htslib/releases{/id}","deployments_url":"https://api.github.com/repos/brainstorm/htslib/deployments","created_at":"2016-02-08T14:06:02Z","updated_at":"2016-02-08T14:06:04Z","pushed_at":"2016-02-08T14:10:33Z","git_url":"git://github.com/brainstorm/htslib.git","ssh_url":"git@github.com:brainstorm/htslib.git","clone_url":"https://github.com/brainstorm/htslib.git","svn_url":"https://github.com/brainstorm/htslib","homepage":"","size":5773,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"samtools:develop","ref":"develop","sha":"ed35e415fbcfd27f3c697e7f88d5bad8662afb8e","user":{"login":"samtools","id":1518450,"avatar_url":"https://avatars.githubusercontent.com/u/1518450?v=3","gravatar_id":"","url":"https://api.github.com/users/samtools","html_url":"https://github.com/samtools","followers_url":"https://api.github.com/users/samtools/followers","following_url":"https://api.github.com/users/samtools/following{/other_user}","gists_url":"https://api.github.com/users/samtools/gists{/gist_id}","starred_url":"https://api.github.com/users/samtools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samtools/subscriptions","organizations_url":"https://api.github.com/users/samtools/orgs","repos_url":"https://api.github.com/users/samtools/repos","events_url":"https://api.github.com/users/samtools/events{/privacy}","received_events_url":"https://api.github.com/users/samtools/received_events","type":"Organization","site_admin":false},"repo":{"id":4339773,"name":"htslib","full_name":"samtools/htslib","owner":{"login":"samtools","id":1518450,"avatar_url":"https://avatars.githubusercontent.com/u/1518450?v=3","gravatar_id":"","url":"https://api.github.com/users/samtools","html_url":"https://github.com/samtools","followers_url":"https://api.github.com/users/samtools/followers","following_url":"https://api.github.com/users/samtools/following{/other_user}","gists_url":"https://api.github.com/users/samtools/gists{/gist_id}","starred_url":"https://api.github.com/users/samtools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samtools/subscriptions","organizations_url":"https://api.github.com/users/samtools/orgs","repos_url":"https://api.github.com/users/samtools/repos","events_url":"https://api.github.com/users/samtools/events{/privacy}","received_events_url":"https://api.github.com/users/samtools/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/samtools/htslib","description":"C library for high-throughput sequencing data formats","fork":false,"url":"https://api.github.com/repos/samtools/htslib","forks_url":"https://api.github.com/repos/samtools/htslib/forks","keys_url":"https://api.github.com/repos/samtools/htslib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/samtools/htslib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/samtools/htslib/teams","hooks_url":"https://api.github.com/repos/samtools/htslib/hooks","issue_events_url":"https://api.github.com/repos/samtools/htslib/issues/events{/number}","events_url":"https://api.github.com/repos/samtools/htslib/events","assignees_url":"https://api.github.com/repos/samtools/htslib/assignees{/user}","branches_url":"https://api.github.com/repos/samtools/htslib/branches{/branch}","tags_url":"https://api.github.com/repos/samtools/htslib/tags","blobs_url":"https://api.github.com/repos/samtools/htslib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/samtools/htslib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/samtools/htslib/git/refs{/sha}","trees_url":"https://api.github.com/repos/samtools/htslib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/samtools/htslib/statuses/{sha}","languages_url":"https://api.github.com/repos/samtools/htslib/languages","stargazers_url":"https://api.github.com/repos/samtools/htslib/stargazers","contributors_url":"https://api.github.com/repos/samtools/htslib/contributors","subscribers_url":"https://api.github.com/repos/samtools/htslib/subscribers","subscription_url":"https://api.github.com/repos/samtools/htslib/subscription","commits_url":"https://api.github.com/repos/samtools/htslib/commits{/sha}","git_commits_url":"https://api.github.com/repos/samtools/htslib/git/commits{/sha}","comments_url":"https://api.github.com/repos/samtools/htslib/comments{/number}","issue_comment_url":"https://api.github.com/repos/samtools/htslib/issues/comments{/number}","contents_url":"https://api.github.com/repos/samtools/htslib/contents/{+path}","compare_url":"https://api.github.com/repos/samtools/htslib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/samtools/htslib/merges","archive_url":"https://api.github.com/repos/samtools/htslib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/samtools/htslib/downloads","issues_url":"https://api.github.com/repos/samtools/htslib/issues{/number}","pulls_url":"https://api.github.com/repos/samtools/htslib/pulls{/number}","milestones_url":"https://api.github.com/repos/samtools/htslib/milestones{/number}","notifications_url":"https://api.github.com/repos/samtools/htslib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/samtools/htslib/labels{/name}","releases_url":"https://api.github.com/repos/samtools/htslib/releases{/id}","deployments_url":"https://api.github.com/repos/samtools/htslib/deployments","created_at":"2012-05-15T19:34:48Z","updated_at":"2016-01-30T01:56:51Z","pushed_at":"2016-02-05T16:49:17Z","git_url":"git://github.com/samtools/htslib.git","ssh_url":"git@github.com:samtools/htslib.git","clone_url":"https://github.com/samtools/htslib.git","svn_url":"https://github.com/samtools/htslib","homepage":"","size":7910,"stargazers_count":167,"watchers_count":167,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":126,"mirror_url":null,"open_issues_count":79,"forks":126,"open_issues":79,"watchers":167,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/samtools/htslib/pulls/335"},"html":{"href":"https://github.com/samtools/htslib/pull/335"},"issue":{"href":"https://api.github.com/repos/samtools/htslib/issues/335"},"comments":{"href":"https://api.github.com/repos/samtools/htslib/issues/335/comments"},"review_comments":{"href":"https://api.github.com/repos/samtools/htslib/pulls/335/comments"},"review_comment":{"href":"https://api.github.com/repos/samtools/htslib/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/samtools/htslib/pulls/335/commits"},"statuses":{"href":"https://api.github.com/repos/samtools/htslib/statuses/37674c0f79d5539eb4a0ed35f60dc395ec3b232d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":0,"changed_files":1}}